Spikeedoodles Posted December 20, 2014 Share Posted December 20, 2014 Heyo! So I'm working on a little personal project and could use some help. The basis of this project is to run commands from a USB Drive (Forensics tools). However, the cmd.exe application will also be on the USB Drive and can't run from the normal /system32 directory. So this means the typical @Comspec is out, I think at least. Oh, and it would be best to keep the command prompt hidden if possible, but it isn't necessary (GUIS change more data, blah blah blah). Is there any way to do this cleanly? Link to comment Share on other sites More sharing options...
computergroove Posted December 20, 2014 Share Posted December 20, 2014 If you want to run the cmd.exe from your drive from a script then put your script on your thumb drive and add the path to your cmd.exe: $hWnd = Run(@ScriptDir & "cmd.exe","",@SW_HIDE) This will run cmd and hide it from the taskbar. You can still see it running in the task manager. Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now