DIGIT-ARC read-only archive · snapshot: July 23, 2026

How to Copy in windows 98

8 posts · originally from https://geek.digit.in/community/threads/how-to-copy-in-windows-98.15022/

N
naikosen Original post #1
Sep 5, 2005 at 5:15 AM
I use WindowsXP regularly where the following in a batch file works good:
copy nice.bmp"%systemroot%\system32"
It copies files to windows\system32

But when I use the same command in Windows98, it does not work. If this is not for Windows98, what command should be?
QwertyManiac
Sep 5, 2005 at 2:01 PM
EDIT : SORRY thought that he got the syntax wrong.
Very sorry.
Will not repeat.
N
Sep 5, 2005 at 5:05 PM
Simply use copy nice.bmp c:\windows\system32

QwertyManiac - dont post if you dont know the answer. Post reported to mOds. You just post to increase your post count. he did not ask to give syntax of copy command in dos. Don't copy n paste blankly.
Sourabh
Sourabh #4
Sep 5, 2005 at 5:54 PM
@QWERTYManiac:

Stick to the point and give solutions to problems in QnA strictly pertaining to the point. Generally those who ask queries in here arent much aware about things pertaining to their problem and thats the reason why they post their queries in the first place. Dont repeat this again.
N
Sep 6, 2005 at 7:01 AM
navjotjsingh said:
Simply use copy nice.bmp c:\windows\system32

Thank you very much.

The syntax you mentioned is for the simle usage of 'Copy' command which is known even to computer novice.

In WindowsXP, the syntax I mentioned searches the 'windows\system32' folder itself ( no matter if it is in C: or in D: ) and copies the stuff in it automatically.

But the same syntax in Windows98 displays "0 files copied". I have to use it in a batch file. How do I do?
N
Sep 6, 2005 at 8:33 AM
You can't use this syntax in 98. That's why I gave you that command. In XP command prompt works under Windows XP and can access registry and knows the value of these variables. But in 98 dos prompt cannot deternmine system variables value as it is stand alone and does not work under Windows.

So you cannot use that syntax of Xp and will have to stick to normal syntax. Maybe you can define its value in Batch file itself. but i do not know how to do this. Let's wait for someone who knows this.
Vishal Gupta
Sep 6, 2005 at 2:04 PM
Simply replace system32 with system.
In windows 98 system folder is used for same purpose as system32 used in xp...
aadipa
aadipa #8
Sep 7, 2005 at 7:34 PM
naikosen said:
navjotjsingh said:
Simply use copy nice.bmp c:\windows\system32

Thank you very much.

The syntax you mentioned is for the simle usage of 'Copy' command which is known even to computer novice.

In WindowsXP, the syntax I mentioned searches the 'windows\system32' folder itself ( no matter if it is in C: or in D: ) and copies the stuff in it automatically.

But the same syntax in Windows98 displays "0 files copied". I have to use it in a batch file. How do I do?


%WinDir% should work on Win98 and it should point to Windows folder. But I don't have Win98 to try this.

Please confirm...