Sign in to follow this  
Followers 0
mary

FindFile from LAN (shared folder)

4 posts in this topic

#1 ·  Posted (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 by mary

Share this post


Link to post
Share on other sites



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

Hi,

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

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by mary

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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
Sign in to follow this  
Followers 0