|
-
Apr 9th, 2008, 01:43 AM
#1
Thread Starter
New Member
Copy BATCH code?
Hiiiiii peaples!
I need to learn me more BATCH programming!
Now i would need to make a batch file that copy a file named MSWINSCK.OSX from H:\MS to C:\WINDOWS\System32
Because i use my program often in school, then i need always put in MSWINSCK.OSX to system32 to get my prog to work!
And its take soo long time to make it all the time
-
Apr 9th, 2008, 02:02 AM
#2
Thread Starter
New Member
Re: Copy BATCH code?
Ok, i've get the codes!
But also, if im gonna copy something to C:\Document and settings\ then its wont work! because it have spaces!!! HOW I FIX IT!!? the codes is like
Copy "H:\MS\MSWINSCK.OSX" "C:\WINDOWS\system32\"
That work but not
Copy "H:\MS\Controller.exe" "C:\Documents and settings\"
-
Apr 19th, 2008, 08:54 PM
#3
Fanatic Member
Re: Copy BATCH code?
Don't you mean ocx? not osx?
Also you do not want to manually install mswinsck because its included with the VB6 runtime.
However, if you want be adventurous and possibly fubar their machine, copy mswinsck.ocx and remember to run regsrv32 mswinsck.ocx.
That will work, assuming thats where the documents and settings are stored.
-
Apr 29th, 2008, 07:14 AM
#4
Re: Copy BATCH code?
 Originally Posted by TeamFlash
Ok, i've get the codes!
But also, if im gonna copy something to C:\Document and settings\ then its wont work! because it have spaces!!! HOW I FIX IT!!? the codes is like
Copy "H:\MS\MSWINSCK.OSX" "C:\WINDOWS\system32\"
That work but not
Copy "H:\MS\Controller.exe" "C:\Documents and settings\"
That's because there are spaces between "Documents and settings"
try this
Copy "H:\MS\Controller.exe" "C:\Docume~1\"
Hope it helps...
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|