kneze Posted May 15, 2011 Share Posted May 15, 2011 Hi i have a code that works for local Folders on my computer. How can i change code so that i can DirGetSize of a specific folder on remote Computer ? This code works on local machine: $CPname = 'London' MsgBox(0,"Size of Temp Folder", "CP Name: " & $CPname &@CRLF & "Size of Temp Folder: " & Round(DirGetSize("C:\temp")/1048576,2) & "MB") The Code could be like MsgBox(0,"Size of Temp Folder", "CP Name: " & $CPname &@CRLF & "Size of Temp Folder: " & Round(DirGetSize("\\$CPname\C$\temp")/1048576,2) & "MB") Thanks for sugestions. Link to comment Share on other sites More sharing options...
wakillon Posted May 15, 2011 Share Posted May 15, 2011 On my local network, it do like this : ConsoleWrite ( DirGetSize ( '\\PCName\Dirname' ) & @Crlf ) AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts 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