Jump to content
Sign in to follow this  
comeonbaby

Run many commands in dos ?

Recommended Posts

comeonbaby

I want to run many commands in dos program.But i cant do it.When i run a command that is finished and terminated.If i want to type many command like this :

RunWait(@ComSpec & " /c " & " cd C:\Program Files\Yahoo!\Messenger\cache")
RunWait(@ComSpec & " /c " & " cacls urls.xml /D Everyone")

So what do i have to do ? Please help me.Thanks in advance!!!!!

Share this post


Link to post
Share on other sites
system24

Write your commands to a batch file and then execute the batch file.


[center]It's a question of mind over matter, if I don't mind, it doesn't matter.[/center]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×