r***@gmail.com
2015-02-23 10:56:37 UTC
Hello vbscript forum,
my Problem seems to me very currious.
Years ago I've written a script which get file(s) by Mouse-Drag&Drop and compress into a winwar archiv.
Day before Yesterday I have modified a little Bit Code which the call of Winrar has not affected! Everythings works fine. Yesterday I want to test the script at last (onto another Computer) without modify anything and I get the error Message:
Skript... Code 800700C1 WshShell.exec ... is not a valid Win32-Application (translated as best I can from Germany error Message)
I'm wondering if now the vbs code runs in x64 Mode or whatever...
As I mentions the script get file(s) via Mouse Drag&Drop and cannot be used as "normal" vbs script.
There is a code part which was n o t modified!:
...
Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")
...
RarP="C:\Program Files\WinRAR\WinRAR.exe a -afzip -ep1 -p" & Passwd & " " & DFile & " @" & ScriptPath & "FileList.tmp"
...
WSHShell.Exec RarP
Set WSHShell = Nothing
Whats my mistake?
Thx
reredok
my Problem seems to me very currious.
Years ago I've written a script which get file(s) by Mouse-Drag&Drop and compress into a winwar archiv.
Day before Yesterday I have modified a little Bit Code which the call of Winrar has not affected! Everythings works fine. Yesterday I want to test the script at last (onto another Computer) without modify anything and I get the error Message:
Skript... Code 800700C1 WshShell.exec ... is not a valid Win32-Application (translated as best I can from Germany error Message)
I'm wondering if now the vbs code runs in x64 Mode or whatever...
As I mentions the script get file(s) via Mouse Drag&Drop and cannot be used as "normal" vbs script.
There is a code part which was n o t modified!:
...
Dim WSHShell
Set WSHShell = WScript.CreateObject("WScript.Shell")
...
RarP="C:\Program Files\WinRAR\WinRAR.exe a -afzip -ep1 -p" & Passwd & " " & DFile & " @" & ScriptPath & "FileList.tmp"
...
WSHShell.Exec RarP
Set WSHShell = Nothing
Whats my mistake?
Thx
reredok