Avatar of webspeedway

asked on 

Save SIW log as Serial Number of System.

Ok, so we have a script that launches SIW and exports the log as a file, you can set the file name. I need to save these files locally then a upload.exe application will start so the tech can upload to the server. The files names must be unique! But when i run this i get a Syntax error... Ideas?  

A bonus, if someone has some ideas to automate the upload would be awesome!
wmic bios get serialnumber /value >> %serial%
set name=%serial%_%date%
siw /log:html=c:\%name%.html /silent /s:1073741829 /h:1 /n:0
Echo The File was created, located at: c:\%name%.html

Open in new window

Microsoft DevelopmentWindows Batch

Avatar of undefined
Last Comment

8/22/2022 - Mon