Search found 16 matches

by ispy
20 May 2023 15:13
Forum: DOS Batch Forum
Topic: For/in/do question relating to Registry Backup (XP)
Replies: 4
Views: 3573

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...
by ispy
19 May 2023 16:08
Forum: DOS Batch Forum
Topic: For/in/do question relating to Registry Backup (XP)
Replies: 4
Views: 3573

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...
by ispy
18 May 2023 10:17
Forum: DOS Batch Forum
Topic: For/in/do question relating to Registry Backup (XP)
Replies: 4
Views: 3573

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...
by ispy
20 Feb 2021 14:18
Forum: DOS Batch Forum
Topic: Survey Popup - RESULTS
Replies: 8
Views: 72499

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...
by ispy
20 Feb 2021 13:47
Forum: DOS Batch Forum
Topic: Problem with variable Drive setup for XP/W98SE
Replies: 18
Views: 19775

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...
by ispy
17 Feb 2021 12:04
Forum: DOS Batch Forum
Topic: Problem with variable Drive setup for XP/W98SE
Replies: 18
Views: 19775

Re: Problem with variable Drive setup for XP/W98SE

Hi Penpen :D ,

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
by ispy
17 Feb 2021 07:11
Forum: DOS Batch Forum
Topic: Problem with variable Drive setup for XP/W98SE
Replies: 18
Views: 19775

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...
by ispy
16 Feb 2021 17:26
Forum: DOS Batch Forum
Topic: Problem with variable Drive setup for XP/W98SE
Replies: 18
Views: 19775

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 ...
by ispy
15 Feb 2021 06:34
Forum: DOS Batch Forum
Topic: Problem with variable Drive setup for XP/W98SE
Replies: 18
Views: 19775

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...
by ispy
03 Feb 2021 05:54
Forum: DOS Batch Forum
Topic: Problem with variable Drive setup for XP/W98SE
Replies: 18
Views: 19775

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...
by ispy
08 Jan 2021 03:13
Forum: DOS Batch Forum
Topic: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
Replies: 12
Views: 9711

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...
by ispy
07 Jan 2021 09:36
Forum: DOS Batch Forum
Topic: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
Replies: 12
Views: 9711

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...
by ispy
01 Jan 2021 06:33
Forum: DOS Batch Forum
Topic: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
Replies: 12
Views: 9711

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...
by ispy
31 Dec 2020 10:44
Forum: DOS Batch Forum
Topic: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
Replies: 12
Views: 9711

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...
by ispy
28 Dec 2020 15:54
Forum: DOS Batch Forum
Topic: Equivalent 9XDos code to NT Find bat/cmd path %~dp0
Replies: 12
Views: 9711

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 ...