(imported topic written by Steve91)
…seems to be happening.
I’m running a job wich amongst other things creates a folder on the root of C: called “ENT”
The syntax in the action script as follows:
if {not exists folder “C:\ENT”}
dos MD C:\ENT
endif
This keeps failing, the directory is not being created so the next line in the action script fails.
Some details below:
Completed download http://xx.xx.xx.xx:52311/Uploads/d26742c30df79bc89d5f7fca0a0e8725ab46f3d7/Eventlog.tmp
Completed continue if {(size of it = 34635 AND sha1 of it = “d26742c30df79bc89d5f7fca0a0e8725ab46f3d7”) of file “Eventlog.tmp” of folder “__Download”}
Completed extract Eventlog.tmp
Completed delete __appendfile
Completed delete EventLogArchive.vbs
Completed delete dumpel.exe
Completed delete EventLogArchive.bat
Completed delete EventLogArchivebat.bat
Completed delete copyeventlog.bat
Completed if {not exists folder “C:\ENT”}
Completed dos MD C:\ENT
Completed endif
Failed if {not exists file “EventLogArchive.vbs” of folder “C:\ENT”}
dos copy “__Download\EventLogArchive.vbs” C:\ENT\
endif
if {not exists file “dumpel.exe” of folder “C:\ENT”}
dos copy “__Download\dumpel.exe” C:\ENT\
endif
…I’ve never had issues making directories in the past this way so I’m a bit stumped.
I’ve tried appending the MD command to a batch file and running that and it also fails.
Any ideas?
Cheers
Steve