MCT Posted November 25, 2004 Share Posted November 25, 2004 i use console as a gui replacement for "cmd.exe" but in order 4 console 2 work, since its just a shell, it needs 2 launch cmd firsthow can i make a script so it runs hidden instead of flashing up then hidden..im kinda autoitscript novice i need 2 pass "directory" parameters 2 it..;Part Of Console.infHKCR,Directory\Shell\ConsoleHere\command,,,"%01%\console.exe -c ""/k cd /d """"%1""""""" AutoIT ScriptRun("console.exe", "", @SW_HIDE)so now when i compile my script, my problem is i need 2 run Autoitscript.exe -c ""/k cd /d "%1"if this doesnt make sense its cuz im tired & cant explain myself verywell Link to comment Share on other sites More sharing options...
DigeratiPrime Posted December 11, 2004 Share Posted December 11, 2004 Im surprised there is less interest in a command shell replacement. Console is a very nice cmd shell replacement. Has someone figured out how to auto-hide the cmd.exe window when its started? And is there a way to make console open instead when I run 'cmd' ? Link to comment Share on other sites More sharing options...
prathapml Posted December 11, 2004 Share Posted December 11, 2004 If you need more CMD replacements, check out the kiX and nircmd utils - google for details. Prolly that is suitable to directly launch another program from scripts. Link to comment Share on other sites More sharing options...
MCT Posted December 11, 2004 Author Share Posted December 11, 2004 Run('C:\Program Files\Console\console.exe -c "/k cd /d ""' & $CmdLine[1] & '"""', "", @SW_HIDE)save as console.au3 & compile using autoit 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