dear,
I am currently making a USB stick that can extract the USB history of laptops. Using USBDeview from NirSoft.
currently the launch.bat looks like this:
Start USBDeview.exe /stext USBDeview.txt
Now my question: the .txt files appear in the same folder as the .exe files and launch.bat, I do not want this, I would like them to go into a separate folder and when the folder is deleted the launch.bat makes a new one, for that reason the program must also check whether the directory exists and otherwise automatically create it again (this must all remain within the USB)
And my 2nd question: when the start USBDeview.exe is done and start the .exe, I have to manually turn off the program, is there a way that he stops when the files are extracted
In short, I would like to have a launch.bat that starts the .exe, .txt save it in another file, and that when all is done its quits the .exe so I can quickly go to the next PC
#1
Posted 22 April 2015 - 09:54 AM

#2
Posted 22 April 2015 - 01:13 PM

Try defining the "USBDeview.txt" file as C:\Users\User\Desktop\Folder Name\USBDeview.txt Does that do anything?
#3
Posted 23 April 2015 - 04:58 AM

Try defining the "USBDeview.txt" file as C:\Users\User\Desktop\Folder Name\USBDeview.txt Does that do anything?
well it does safe it to th folder, but I use the F: drive and if the folder does not exist is doesnt do a thing
#4
Posted 24 April 2015 - 08:36 AM

Sorry, so you want to save the file to the USB as well?
Define the Save directory previously known as "C:\Users\User\Folder Name\USBDeview.txt" as "F:\Folder Name\USBDeview.txt".
Does that accomplish your needs?
Similar Topics
Also tagged with one or more of these keywords: bat, program, usb, software
![]() |
![]() System Crash, Sluggish Performance AfterwardsStarted by Solice93 , 29 Oct 2023 ![]() |
|
![]()
|
|
![]() |
Hardware →
Hardware, Components and Peripherals →
LAN HDD to USBStarted by Faina , 07 Apr 2023 ![]() |
|
![]()
|
|
![]() |
Hardware →
Networking →
Weird recurring disconnect issue - Windows 10Started by Rickie , 27 Dec 2022 ![]() |
|
![]()
|
|
![]() |
Hardware →
Hardware, Components and Peripherals →
My MX992 Printer does not scan.Started by jsaklas , 10 Jan 2022 ![]() |
|
![]()
|
|
![]() |
Software →
Applications →
Reverse Image search on local hard diskStarted by gauravsk79 , 08 Jul 2021 ![]() |
|
![]()
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
As Featured On:






