China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-09 23:37
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » How can I compress or copy these files under XP? View 764 Replies 1
Original Poster Posted 2008-09-30 00:15 ·  中国 广东 东莞 电信
中级用户
★★
Credits 461
Posts 243
Joined 2007-10-14 16:56
18-year member
UID 99730
Gender Male
Status Offline
How can I compress or copy them while Windows XP is running normally?

I've been looking for a simple backup method for the registry. If I directly COPY or compress them, it says the files are in use. What program needs to be terminated to cancel this prompt so the operation can proceed normally?

Files:
C:\WINDOWS\system32\config>dir
Volume in drive C has no label.
Volume Serial Number is 7C82-39EC

Directory of C:\WINDOWS\system32\config

2008-07-09 16:57 <DIR> .
2008-07-09 16:57 <DIR> ..
2008-09-29 15:14 65,536 AppEvent.Evt
2008-09-29 15:14 524,288 DEFAULT
2008-07-09 16:58 65,536 default.sav
2008-09-29 15:14 262,144 SAM
2008-08-12 20:17 65,536 SecEvent.Evt
2008-09-29 15:14 262,144 SECURITY
2008-09-29 15:14 18,612,224 SOFTWARE
2008-07-09 16:58 1,060,864 software.sav
2008-09-29 15:14 65,536 SysEvent.Evt
2008-09-29 23:11 3,670,016 SYSTEM
2008-07-09 16:58 401,408 system.sav
2008-07-09 17:05 <DIR> systemprofile
2008-07-09 16:58 262,144 userdiff
12 File(s) 25,317,376 bytes


C:\WINDOWS\system32\config>taskkill /f /im "explorer.exe"
SUCCESS: The process "explorer.exe" with PID 136 has been terminated.

:\WINDOWS\system32\config>copy . d:\
\AppEvent.Evt
\DEFAULT
The process cannot access the file because it is being used by another process.
\default.sav
\SAM
The process cannot access the file because it is being used by another process.
\SecEvent.Evt

[ Last edited by qwertl on 2008-9-30 at 00:19 ]
Floor 2 Posted 2008-09-30 00:34 ·  中国 陕西 西安 电信
铂金会员
★★★★
Credits 5,212
Posts 2,478
Joined 2007-02-08 23:39
19-year member
UID 79003
Gender Male
Status Offline
unlocker

I see it's SYSTEM

Haven't ended it... don't know what the consequences would be...

Suggest testing it in a virtual machine
S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore
Forum Jump: