mary Posted March 4, 2008 Share Posted March 4, 2008 (edited) just a question about how to do FindFile when root folder is an other computer on the LAN ? something like dos commad: Dir \\Computer2 /s /b thinks Edited March 4, 2008 by mary Link to comment Share on other sites More sharing options...
Xenobiologist Posted March 4, 2008 Share Posted March 4, 2008 just a question about how to do FindFile when root folder is an other computer on the LAN ?something like dos commad: Dir \\Computer2 /s /bthinksHi,when you are used to it use it with Run with @comspec Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
mary Posted March 4, 2008 Author Share Posted March 4, 2008 (edited) Hi, when you are used to it use it with Run with @comspec Mega here is my code and it not work too! #include <Process.au3> $sCommand="dir \\Computer2 /s /b >c:\dir.txt" _RunDOS ( $sCommand ) Edited March 4, 2008 by mary Link to comment Share on other sites More sharing options...
Xenobiologist Posted March 4, 2008 Share Posted March 4, 2008 Hi, this should work Run('"' & @ComSpec & '" /c dir \\filesrv02\data\DATA\ >c:\dir.txt', '', @SW_HIDE) Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times 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