Posts: 1
Threads: 1
Joined: Feb 2015
Reputation:
0
I have searched the web high and low and I can not find a copy of dbug_undo.cmd. I installed dbug and now I can't get it off. Every time I go to the site to download it, they only let me get the install part of dbug. Can someone please help me? I have been working on this for the last 3 hours now and I'm sooo tired of this.
Posts: 1,856
Threads: 46
Joined: Sep 2014
Reputation:
46
Which dbug are we talking about?
Posts: 4,727
Threads: 311
Joined: Sep 2014
Reputation:
102
Have you contacted Nick Shaw, the creator of dbug? I will see if I can contact him for you.
<left><form action="https://www.paypal.com/cgi-bin/webscr" method="post">If you are satisfied with my help, consider a donation. Thank you so much for your continued support!
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="Y4ZDLXGFS4F8Q">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="0" height="0">
</form>
</div></left>
Posts: 4,727
Threads: 311
Joined: Sep 2014
Reputation:
102
It should be created once its run, but he said he don't have dbug_undo.cmd
<left><form action="https://www.paypal.com/cgi-bin/webscr" method="post">If you are satisfied with my help, consider a donation. Thank you so much for your continued support!
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="Y4ZDLXGFS4F8Q">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="0" height="0">
</form>
</div></left>
Posts: 1,856
Threads: 46
Joined: Sep 2014
Reputation:
46
Yea I didn't when I downloaded it had to use the DOS version to make it appear.
Posts: 4,727
Threads: 311
Joined: Sep 2014
Reputation:
102
02-22-2015, 04:49 PM
(This post was last modified: 02-22-2015, 04:49 PM by Britec.)
Try this
Open notepad and type
@"%~dp0\dBug.exe" -u
save as dbug_undo.cmd
<left><form action="https://www.paypal.com/cgi-bin/webscr" method="post">If you are satisfied with my help, consider a donation. Thank you so much for your continued support!
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="Y4ZDLXGFS4F8Q">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="0" height="0">
</form>
</div></left>
Posts: 1
Threads: 0
Joined: Feb 2015
Reputation:
0
I do apologize for the trouble, and I received message from Britec earlier (thanks for the heads up, sorry I'm late!) but I've been out of town and was on the road.
I'm curious about the circumstance in which you first ran dBug.exe, but I'll go ahead and state that there are some obvious flaws in dBug usage right now, and you may fit into one of these categories I'm about to explain. In v2.0, rather than having to keep multiple files together, I just had dBug.exe create the dBug_Undo.cmd file itself when run, at the same time it installs the reminders to run the undo at Windows startup!
It is supposed to create the undo file in the current directory, and it was supposed to be a simple convenience. I'm not sure how this didn't occur to me previously, but one could (and I can see a need for this) run it from a write protected flash drive or similar, a path where the current user doesn't have full (e.g. write) permissions, or run it even directly from the .zip file. In these cases it would certainly fail to write the undo file.
Another thing I'm not sure why this didn't occur to me previously, but I could simply have dBug.exe just do the "undo" without the help of the command line parameter (in the batch file which is dBug_Undo.cmd) by having it simply check for the values it created on any run, and if they exist already it removes them, and if not, that's when it would create them and reboot.
In fact, I just had some other good ideas for it now that I'm thinking about dBug again. Expect a new dBug release very soon to address these issues, and I'll check back here to make sure everything is ok.