ixGAMEOVERxixx Posted June 24, 2009 Report Posted June 24, 2009 (edited) Shell("cmd.exe /k COMMAND") Hope this helps.. Thanks to Slip for always fixing my errors Edited June 24, 2009 by ixGAMEOVERxixx
lostmodz26 Posted June 24, 2009 Report Posted June 24, 2009 I thought that shell is supposed to open a file. Nice post, could help some people. 1
Dark Slipstream Posted June 24, 2009 Report Posted June 24, 2009 That executes commands as if it was a "Run..." dialog box, not a CMD.. to run CMD commands: Shell("cmd.exe /k COMMAND") 1
iKhaosmaster Posted June 25, 2009 Report Posted June 25, 2009 Wow I should get credit. I told you how to do this in the shoutbox today.
ixGAMEOVERxixx Posted June 25, 2009 Author Report Posted June 25, 2009 lol, I searched chat to see who first told me and couldn't find you.. and then Slip posted and made it work better
miinaturvat Posted June 26, 2009 Report Posted June 26, 2009 You do know that when you type a command into CMD, all it does is run that program with the specified arguments? I.e if you type "ipconfig /all", all CMD does is run "ipconfig.exe" and pass it the argument "/all". CMD is nothing special; it just executes things.
Dark Slipstream Posted June 27, 2009 Report Posted June 27, 2009 CMD executes things that can't be ran in normal windows. Parameter programs.
lostmodz26 Posted June 27, 2009 Report Posted June 27, 2009 Yeah, it basically does the thing when you make a shortcut, and you put commands in the target.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now