Jump to content

Recommended Posts

Posted (edited)

Hi.

 

Just trying to setup BrowsingHistoryView to save peoples IE History to a csv file.

 

Got the command alsmost there. Just need to be able to change the csv file each time the script is run.

The command will be run at every logoff.

 

Anyone know if its possible to set the name parameter to a incrementing number?

 

Many thanks,

 

Answer if anyone needs it. It sets the filename to username_date_time:

set hr=%time:~0,2%

if "%hr:~0,1%" equ " " set hr=0%hr:~1,1%

 

 

BrowsingHistoryView.exe /scomma C:\Users\dan\Desktop\browsinghistoryview\%username%_%date:~-4,4%%date:~-10,2%%date:~-7,2%_%hr%%time:~3,2%%time:~6,2%.csv /sort 3 /HistorySource 2

Edited by DCUK6

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...