|
Best Porn Sites | Live Sex | Register | FAQ | Search | Today's Posts | Mark Forums Read |
Computer and Tech Help Discuss hardware, software, applications, malware removal, etc. |
|
Thread Tools |
11th April 2018, 23:06 | #1 |
Registered User
Addicted Join Date: Aug 2007
Posts: 189
Thanks: 1,523
Thanked 561 Times in 101 Posts
|
.BAT Files
If I run a batch file through notepad and it makes the changes it should do and then I want to undo those changes how do I undo those changes. Do I go to the registry and delete the file. There isn't a batch file to undo the changes so I am reluctant to run it. Just being a bit cautious in case I wreck my computer.
__________________
Last edited by angel44; 11th April 2018 at 23:07.
angel44 |
|
12th April 2018, 02:27 | #2 |
♥ teen lover ♥
Beyond Redemption Join Date: Nov 2014
Location: here
Posts: 10,399
Thanks: 59,301
Thanked 43,194 Times in 9,747 Posts
|
If you edit your BAT file, each command is listed inside.
Depending on what your file is actually creating/editing you may be able to simply change the command to delete and it would go back down the list and remove the entries it created. If your BAT file is activating other EXE files then you will have a tough time tracking down all of the modified registry entries and file/folder creations. You may be able to do a Win search and sort by Date Created which can narrow down the files created at that time. I hope this helps
__________________
To Each Their Own 2024 Hardcore Debut Girls here! Alysa Vs Lords Of Acid Music Video 171+ Archive of my Wallpaper Creations ^2024/06 Matty/Ardelia/Milena Angel/Dolly Little/Alisabelle Shrima Malati/Alysa/Anjelica/Gina Gerson NIN - YZ - 00000010 - meMIXes -The Slip - by me I will reUp files to another host. |
The Following 5 Users Say Thank You to rbn For This Useful Post: |
12th April 2018, 20:19 | #3 |
V.I.P.
Clinically Insane Join Date: Feb 2013
Location: Pornland
Posts: 4,239
Thanks: 23,787
Thanked 17,790 Times in 3,824 Posts
|
You can use the comment tag REM at the beginning of the lines you don't want executed, then remove the lines once you're happy with your BAT file.
__________________
|
13th April 2018, 23:12 | #4 | ||
Fan of Cairy Hunt
Postaholic Join Date: Mar 2007
Location: Alice's Restaurant
Posts: 5,154
Thanks: 19,781
Thanked 22,958 Times in 4,188 Posts
|
I think it depends to some extent on what your batch file does. If you can provide information with regard to what your .bat file does, it might help with the suggestions you get back.
Last edited by Pad; 13th April 2018 at 23:13.
One way to do it would be to write another batch file to reverse the actions of your first batch file. I have an example of this on my machine for moving files to different folders shown below: This .bat file moves a Sony Vegas plugin to a different folder to trick Vegas into thinking it doesn't exist. Basically that forces Vegas to use a different codec for the video I'm working with. I only have to use this now and then with troublesome videos. Quote:
Quote:
|
||
14th April 2018, 00:14 | #5 |
Registered User
Addicted Join Date: Jul 2009
Posts: 707
Thanks: 1,605
Thanked 1,288 Times in 529 Posts
|
just post the text within the batch file on here if you can and others can let you know what its going to do
i use small batch files to turn hibernate On and Off, start CCleaner then shutdown the computer etc |
25th April 2018, 07:11 | #6 |
CylnZscrmZ, a.b.n.c.f
Addicted Join Date: Oct 2013
Posts: 682
Thanks: 3,792
Thanked 4,068 Times in 661 Posts
|
@OP, are you TRYING to edit your registry with a batch file?
Why? if you want to edit / add /remove entries in your registry you'd use a *.reg file. but ONLY after you've fully backed up your registry hive.
__________________
|
The Following User Says Thank You to cylnz For This Useful Post: |
Thread Tools | |
|
|