Create Directory?

(imported topic written by DotA)

Hi Can BigFix create directories on target PCs? I have a software install that loads to the default location C:\Program Files\BigFix Enterprise\BESClient_BES Data\actionsite_Download, extracts to that site then gets deleted upon reboot. I’d like to copy those install files locally after the installation for future support purposes. I’ve tried MKDIR and MD to create a new directory but neither works. I have no problem copying to existing directories. Any solutions?

(imported comment written by Doug_Coburn)

To use the dos ‘mkdir’ from the ActionScript in BES you need to use the ‘dos’ command in front of the mkdir command.

dos mkdir “drive:\path\folder”

Unless the output from this is redirected it will pop up a dos windows on the remote user’s computer. This could be undesired if you are trying to silently install and move the files.

dos mkdir “drive:\path\folder” > NUL 2>NUL

Using this method should allow you to create the folder and then copy the files into the new directory. Also it has the added advantage of being able to do the same thing using the dos copy command which allows you to copy

.

rather then only doing single files.

Doug