Go Back   PCMech Forums > Windows Support > Windows Tips, Tricks, and Tweaks

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 10-04-2000, 03:08 PM   #1
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
I just noticed a glaring error in my own code.
It's not critical, but terribly annoying (to me anyhow).
Can anyone spot it?
Hint: It's got something to do with the directory structure.

edit: I just realized there's more than one. I guess I cranked it out too late last night.
Hopefully Dok will have the corrected code posted on the page ASAP.

Anyone having problems with the current code, please email me for a fixed version. I'll also post it on my website.
TIA

edit: Now includes backing up Netscape bookmarks!

(I sure hope Dok updates the page SOON!)

[Edited by reboot on 10-04-2000 at 04:26 PM]
__________________
Black holes are where God divided by zero...
Cheers, Jim

Jims Modems
reboot is offline   Reply With Quote
Old 10-04-2000, 04:51 PM   #2
Member (13 bit)
 
M. A. Dockter's Avatar
 
Join Date: Mar 1999
Location: Cedar Rapids, IA
Posts: 4,130
Send a message via AIM to M. A. Dockter
updated!
__________________
Matthew A. Dockter
Contact me via email
M. A. Dockter is offline   Reply With Quote
Old 10-04-2000, 05:15 PM   #3
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Whew! Thanks Dok.
reboot is offline   Reply With Quote
Old 10-05-2000, 05:52 PM   #4
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Check out the article again.
It now includes an EZ-Restore (restore.bat) for the backups.
Also wrote a Shopvac.bat crash recovery.
Look in the Windows 9x forum.
reboot is offline   Reply With Quote
Old 10-06-2000, 11:18 AM   #5
Member (10 bit)
 
tacoeater's Avatar
 
Join Date: Oct 2000
Location: Harlingen, Texas
Posts: 757
Error in which program?

I have downloaded most of your files and saved most of your batch files but when I read your post about the error in your code I was not able to decide which program you were talking about. What is it and were would I have gotten it?
Thanks
tacoeater is offline   Reply With Quote
Old 10-06-2000, 12:41 PM   #6
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
The first edition of the EZbackups code included far too many errors (just annoyances really), but the kicker was the pathing. I didn't specify that it must be run from root c:\ so if it was run from the desktop( or anywhere else), it created a bunch of useless folders with nothing in them, then the restore.bat wouldn't work either.
I tried a work around for being able to use it from any directory, but it's just too complicated to path out, especially for the restore part.
Keeping everything in one place in the backups.bat allows for much easier code in the restore.bat
I'm working on getting it working from any folder, and the restore as well, but there are just too many variables.
I can get the restore to find the backups folder and restore the stuff, but the backups just don't work unless run from root c:
reboot is offline   Reply With Quote
Old 10-06-2000, 07:36 PM   #7
bob
Member (12 bit)
Premium Member
 
bob's Avatar
 
Join Date: Mar 1999
Location: LA, CA
Posts: 2,224
Things to try inside bat file


Rem start of file....commands are grouped

C:
cd\
cd windows


rem or better yet

C:
cd\
cd %windir%
If %windir% == C:\WINNT exit
echo Your windows directory is %windir%





rem "both must be true"

if exist win.com if exist system.ini ren system.DA0 system.tmp

rem

if not exist win.com exit

Rem end


Just for fun at the command line type

dir \ /s | find /I "bytes"



echo %temp%



bob is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:42 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0