vendingo Posted August 4, 2008 Share Posted August 4, 2008 I'm running the remove novell client script and would like the script to also report the computername to a log file on the network if the task was successful. I have over 250 computers to remove the novell client on and need to know if the removal script worked or not. Any clues on how to script this? I'm by no means a programmer - just a code stealer. Link to comment Share on other sites More sharing options...
Developers Jos Posted August 4, 2008 Developers Share Posted August 4, 2008 Would something simple like this work ? (they ofcourse will need write access to the logfile.) FileWriteLine("\\server\share\Logfile.log",@MON & @MDAY & " " & @HOUR & @MIN & @SEC & " I am done:" & @ComputerName) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Ambient Posted September 1, 2008 Share Posted September 1, 2008 Try this : $slogfilepath = "\\server\share\Logfile.log" _FileWriteLog($slogfilepath, @Computername & " has now finished " Link to comment Share on other sites More sharing options...
BrettF Posted September 1, 2008 Share Posted September 1, 2008 Pretty old post, so I imagine because the user didn't come back, it either worked, or he found another solution. Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now