Jump to content

Running Dos Commands


Recommended Posts

Hello,

I'm trying to run dos commands. I was testing just opening a DOS window, changing my directory to C, then displaying the directory with DIR, then changing to another directory and displaying that.

RunWait(@COMSPEC " /k chdir\")

This line works. I changed the /c to /k. (I need to find out what those mean.)

If I run the @comspec again, I get another dos window. I want to stay in the same window and run multiple commands.

Any help would get me started in the right direction.

Thanks

Link to comment
Share on other sites

You can write a .bat file and then run it. :lmao:

[quote name='d2hacker88' date='Jan 6 2005, 05:10 PM']Can someone please help me out with autoit like gimme a link on how to use it cause i have no experience with computer languages and i'd like to make a program with autoit in order to empress my computer teacher.[right][snapback]52215[/snapback][/right][/quote]

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...