Hello,
I just want to run a simple script to check the directory size but the error keep poping up regarding 64bit. I use the redirection suggested, but the error did not go away
LibFunc>kernel32,Wow64DisableWow64FsRedirection,result,0
Label>CheckSize
Let>RP_WAIT=3
Let>RP_WINDOWMODE=0
Run>"cmd.exe" /c dir "%Source%" >%LogTemp%dirsize8.txt
ReadFile>%LogTemp%dirsize8.txt,data
Separate>data,File(s),data
Separate>%data_2%,bytes,size1
StringReplace>size1_1, ,,size1_1
Wait>%delay%
Run>"cmd.exe" /c dir "%Source%" >%LogTemp%dirsize8.txt
ReadFile>%LogTemp%dirsize8.txt,data
Separate>data,File(s),data
Separate>%data_2%,bytes,size2
StringReplace>size2_1, ,,size2_1
If>%size1_1%=%size2_1%,Continue,CheckSize
//revert File System Redirection
LibFunc>kernel32,Wow64RevertWow64FsRedirection,result,0
attached is the error
thank you
64 bit related error
Moderators: JRL, Dorian (MJT support)
Re: 64 bit related error
It works when I put the script in the network drive and run from it but will give an error when I run from c: drive
...odd but it works with no problem
...odd but it works with no problem