Brennan Posted January 27, 2007 Share Posted January 27, 2007 I made a batch file for a flash drive that will take a bunch of info from a windows sys and dump it on the flash drive but I have one small problem it doesn't save so can someone tell me how to tweak this so it will work. @echo off cls :: Create Folder mkdir .systems%date:~4,2%_%date:~7,2% :: Shortcuts set F=.systems%date:~4,2%_%date:~7,2%__% set N=%Computername% set save=%F%%N%.log set cd=%F%%N% cd %CD% echo ################################# >> %save% echo ################ ################ >> %save% echo ############### ############### >> %save% echo ############## ############## >> %save% echo ############# ############# >> %save% echo ############ ############ >> %save% echo ########### ########### >> %save% echo ########## SYSINFO ########## >> %save% echo ########### ########### >> %save% echo ############ ############ >> %save% echo ############# ############# >> %save% echo ############## ############## >> %save% echo ############### ############### >> %save% echo ################ ################ >> %save% echo ################################# >> %save% echo. >> %save% echo. >> %save% :: Credit echo sysinfo 1.0 Created by:REDWIND >> %save% echo. >> %save% echo. >> %save% ::Quick info echo Computer Name=%computername% >> %save% echo System Drive=%systemdrive% >> %save% echo. >> %save% echo. >> %save% :: Firewall Info echo ############################ >> %save% echo ### Firewall information ### >> %save% echo ############################ >> %save% netsh firewall show config >> %save% :: IP info echo ###################### >> %save% echo ### IP Information ### >> %save% echo ###################### >> %save% ipconfig /all >> %save% Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.