Jump to content

@Comspec /c vs. RunDos


Recommended Posts

what is the difference between @ComSpec /c and RunDos?

in our environment, several pcs can run ComSpec dos commands just fine while others cannot.

i am going to try to run rundos, hopefully this will work on all pcs =)

i will let you know

Link to comment
Share on other sites

Link to comment
Share on other sites

in our environment, several pcs can run ComSpec dos commands just fine while others cannot.

When you say "while others cannot", what happens exactly?

Does a command prompt open and then just disappear without executing the expected command?

Also, are you familiar with the "@Comspec & "/k" switch?

It prevents the command prompt from closing after execution, and is useful for seeing any error messages output by the command.

Link to comment
Share on other sites

ahhh good to know.. didnt know about the /k

turns out reason it wasnt working some pcs was path had spaces.. tooootally unrelated.

good to know kafu that they are one in the same

thanks fellas!

When you say "while others cannot", what happens exactly?

Does a command prompt open and then just disappear without executing the expected command?

Also, are you familiar with the "@Comspec & "/k" switch?

It prevents the command prompt from closing after execution, and is useful for seeing any error messages output by the command.

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...