Jump to content

How to browse files


LinuZ
 Share

Recommended Posts

Type \\<computername OR IP>\<sharename> in the address bar of explorer?

Open a command prompt and type

net use /?
Link to comment
Share on other sites

Take a look at Run, RunWait, ShellExecute and FileFindFirst in the help file.

This is from the top of my head to give you something to work on. (aka, my head don't normally return all I need it to..:))

Basically you connect to a share with

RunWait(@comspec & " /C net use z: \\" & $computerid & "\" & $shareid & ")"

Then you browse z:\ with FileFindFirst

Then you disconnect with something like

RunWait(@comspec & " /C net use z: /DELETE & ")"

Happy scripting

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...