Search found 16 matches
- 20 May 2023 15:13
- Forum: DOS Batch Forum
- Topic: For/in/do question relating to Registry Backup (XP)
- Replies: 4
- Views: 6863
Re: For/in/do question relating to Registry Backup (XP)
Hi GeoffVass, :D Firstly many thanks for the reply, as you say you raise some good points in respect of the registry backup which extend beyond Gud-Ole-WinXP which many would rebuke me for using in the first place but YES you are right because many websites I have looked at extract the registry from...
- 19 May 2023 16:08
- Forum: DOS Batch Forum
- Topic: For/in/do question relating to Registry Backup (XP)
- Replies: 4
- Views: 6863
Re: For/in/do question relating to Registry Backup (XP)
Many thanks for the reply Penpen. Firstly & most importantly :mrgreen: can I express my congratulations on your birthday, I wish I was 46 again! Happy Birthday to you!!! Do you know what truthfully I would never have guessed that the "/y" switch was the item that was causing the above batch-file to...
- 18 May 2023 10:17
- Forum: DOS Batch Forum
- Topic: For/in/do question relating to Registry Backup (XP)
- Replies: 4
- Views: 6863
For/in/do question relating to Registry Backup (XP)
Hi All, I was wondering whether a kindly soul would help me out with a interesting section of batch code (for XP as far as I know) which employs for-in-do, it backs up registry keys the code & is as follows, I found it elsewhere on the net but it does have potential: @echo off setlocal set BackupFol...
- 20 Feb 2021 14:18
- Forum: DOS Batch Forum
- Topic: Survey Popup - RESULTS
- Replies: 8
- Views: 111111
Re: Survey Popup - RESULTS
Hi folks :D , I'm sorry that this request survey slipped under the radar for me, I would have liked to put forward additional suggestions for small ASM/debug scripts that would compliment batch-files in both Dos & CMD. I think Debug is present in OS's up to Windows7 Me thinks, along with a more rece...
- 20 Feb 2021 13:47
- Forum: DOS Batch Forum
- Topic: Problem with variable Drive setup for XP/W98SE
- Replies: 18
- Views: 26442
Re: Problem with variable Drive setup for XP/W98SE
Hi folks :D Just to give an update to where I am up to with trying to write a batch file that is both compatible in XP & Windows 98SE, Although I think with the right skill set it can be done, I have decided to write respective batch files for each OS and branch with a "goto" :label to make things m...
- 17 Feb 2021 12:04
- Forum: DOS Batch Forum
- Topic: Problem with variable Drive setup for XP/W98SE
- Replies: 18
- Views: 26442
Re: Problem with variable Drive setup for XP/W98SE
Hi Penpen ,
I have tried to send you a private message, well several in fact but when I click on the send button it doesn't seem to flag up that something has been sent in the outbox. Edit - I think it may have been sent finally phew
Best Regards,
Ispy
I have tried to send you a private message, well several in fact but when I click on the send button it doesn't seem to flag up that something has been sent in the outbox. Edit - I think it may have been sent finally phew
Best Regards,
Ispy
- 17 Feb 2021 07:11
- Forum: DOS Batch Forum
- Topic: Problem with variable Drive setup for XP/W98SE
- Replies: 18
- Views: 26442
Re: Problem with variable Drive setup for XP/W98SE
Just reporting back with feedback :D @ Saso As Jeb has stated %CD% is affiliated to Win-XP as is "cd /d" also (without quotes & just for info) these nuances are a little bit confusing, when attempting to write batch files for NT & Dos. Anyway - @ Penpen tried your script in XP it very briefly opened...
- 16 Feb 2021 17:26
- Forum: DOS Batch Forum
- Topic: Problem with variable Drive setup for XP/W98SE
- Replies: 18
- Views: 26442
Re: Problem with variable Drive setup for XP/W98SE
Hi Folks :D , I think I may have a solution to this problem I have adapted a script which I have found on PC-Mag article which I think was in the main for 9X but it seems to work reasonably well in XP as well even though it uses command.com rather than native CMD (& one other caveat it reports back ...
- 15 Feb 2021 06:34
- Forum: DOS Batch Forum
- Topic: Problem with variable Drive setup for XP/W98SE
- Replies: 18
- Views: 26442
Re: Problem with variable Drive setup for XP/W98SE
Hello all just Posting feedback on the replies to my initial post many thanks for taking the time and trouble to post your replies, it is appreciated!, @pieh-ejdsch(Phil) - Tried your script albeit within Vbox/Win98SE & the script did not work, all that was returned was a flashing cursor at the comm...
- 03 Feb 2021 05:54
- Forum: DOS Batch Forum
- Topic: Problem with variable Drive setup for XP/W98SE
- Replies: 18
- Views: 26442
Problem with variable Drive setup for XP/W98SE
Hi everyone :D , Pc SPEC: Current OS WinXPSP3 working within CMD.EXE & I have also tried to use Command.com from CMD window. PC is Small-Form Factor Intel core i7 vPro with 8 gig ram usb non-wireless mouse setup on dual boot "grub for dos" non-bootsector dual boot mechanism with Q4OS Linux OS. I hav...
- 08 Jan 2021 03:13
- Forum: DOS Batch Forum
- Topic: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
- Replies: 12
- Views: 13718
Re: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
Sorry in addition I forgot to also mention as a P.S. I found this Web page link entitled - "DOS Remove Linefeed And Carriage Return ?" if you scroll to the second post by a person that goes by the handle of MechaniX2Go. He or she (to be PC correct) also uses debug in a batch format to remove CRLFs a...
- 07 Jan 2021 09:36
- Forum: DOS Batch Forum
- Topic: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
- Replies: 12
- Views: 13718
Re: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
General comment - Apologies for not being attentive to this post but I have been distracted with other life issues lately which needed immediate attention & action @pieh-ejdsch - Please excuse my ignorance here I'm not quite sure what you getting at here. I clicked on the link you have kindly provid...
- 01 Jan 2021 06:33
- Forum: DOS Batch Forum
- Topic: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
- Replies: 12
- Views: 13718
Re: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
@Penpen Yep - Many thanks the what I now call the Penpen.bat compiled from your code now works & might I add with LFN format, Great Job! Your quote - You should check, if the environment variable TMP is initialized correctly (to a path with read/write permission). Ans not sure how you do this but wo...
- 31 Dec 2020 10:44
- Forum: DOS Batch Forum
- Topic: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
- Replies: 12
- Views: 13718
Re: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
Hi Penpen & Eureka, Many thanks for sharing your knowledge firstly... @Eureka - I tried to use the truename as outlined here: https://www.robvanderwoude.com/truename.php - but it only returns the same information in SFN format C:\MYDOCU~1\ZERO.BAT. I have thought of piping the output through ODI's L...
- 28 Dec 2020 15:54
- Forum: DOS Batch Forum
- Topic: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
- Replies: 12
- Views: 13718
Re: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
@Penpen, Firstly can I take this opertunity to thank you for your response to my posting. I am really grateful! Can I ask for your further help please? Oh so "%0" is the name of my Batch script not the path & as you rightly say could give unpredictable results. I have managed to use the script in a ...