os-command

Hi everonye,

I have a question about os-command. I want to input more then one command in a cmd.

when I use this:

os-command("cd c:\blabla").
os-command("do something else on c:\blabla")

it wont work because he opens another cmd box.

I need to get more then one command in the same cmd box.


Anyone knows the solution to this?
 
Thanks Casper.

but it still doesn't work.

i'm using a program called "imagemagick" and I need to use the function "Convert" from it.

when I click start --> execute --> cmd --> convert /? he shows me the help of the convert function of imagemagick.

when i do os-command value("convert /?") he shows me the help to convert FAT to NTFS.

Anyone knows what I can do ?
 

Casper

ProgressTalk.com Moderator
Staff member
so if you make a bat file like this:

Code:
cd C:\Program Files\ImageMagick-6.3.6-Q16
convert \? > c:\temp\t

Then it still shows the convert function of windows?

Casper.
 
Top