| | |
.bat file
Thread Solved |
Hey everyone... could someone tell me why this isn't working? I get "The specified path could not be found." when I run it.
@echo off REM########################################################################### REM Author: Caleb REM Date: 11-14-2007 REM Contact: - REM Description: This .bat file is to copy necessary .cui, .mnl, and .mnr files from Autodesk 2007 to the REM @REM Autodesk 2008 support folder REM############################################################################ echo Copying Autodesk 2007 .cui files to Autodesk 2008 Support directory... copy "C:\Documents and Settings\%USERNAME%\Application Data\Autodesk\C3D 2007\enu\Support\*.cui" "C:\Documents and Settings\%USERNAME\Application Data\Autodesk\C3D 2008\enu\Support" pause echo Copying Autodesk 2007 .mnl files to Autodesk 2008 Support directory... copy "C:\Documents and Settings\%USERNAME%\Application Data\Autodesk\C3D 2007\enu\Support\*.mnl" "C:\Documents and Settings\%USERNAME%\Application Data\Autodesk\C3D 2008\enu\Support" pause echo Copying Autodesk 2007 .mnr files to Autodesk 2008 Support directory... copy "C:\Documents and Settings\%USERNAME%\Application Data\Autodesk\C3D 2007\enu\Support\*.mnr" "C:\Documents and Settings\%USERNAME%\Application Data\Autodesk\C3D 2008\enu\Support" pause
Last edited by Duki; Nov 15th, 2007 at 3:59 pm.
It is practically impossible to teach good programming style to students that have had prior exposure to Basic; as potential programmers they are mentally mutilated beyond hope of regeneration.
-Edsger Dijkstra
-Edsger Dijkstra
From what I can see:
1/
remove the double quote marks
2/
For %USERNAME% substitute the actual name in the path and make sure the destination directory (with the same substitution) is present.
1/
remove the double quote marks
2/
For %USERNAME% substitute the actual name in the path and make sure the destination directory (with the same substitution) is present.
Suspishio
My advice is at your risk
Qosmio G50-10H; T9400 2.53GHz Core 2 Duo; 4GB RAM; Vista HP (32)
nForce 680i LT; Q6600 Quad Core 2.4GHz; 8GB RAM; XP Pro (64)
Dell XPS M1710; T7200 2GHz Core 2 Duo; 2GB RAM; XP Pro (32)
My advice is at your risk
Qosmio G50-10H; T9400 2.53GHz Core 2 Duo; 4GB RAM; Vista HP (32)
nForce 680i LT; Q6600 Quad Core 2.4GHz; 8GB RAM; XP Pro (64)
Dell XPS M1710; T7200 2GHz Core 2 Duo; 2GB RAM; XP Pro (32)
Hm, the double quotes are needed because the path has spaces. The directory is there; it works with the username.
thanks.
thanks.
It is practically impossible to teach good programming style to students that have had prior exposure to Basic; as potential programmers they are mentally mutilated beyond hope of regeneration.
-Edsger Dijkstra
-Edsger Dijkstra
fixed it. Since it's a domain computer I needed to do %username%.domain
thanks for trying to help!
thanks for trying to help!
It is practically impossible to teach good programming style to students that have had prior exposure to Basic; as potential programmers they are mentally mutilated beyond hope of regeneration.
-Edsger Dijkstra
-Edsger Dijkstra
![]() |
Similar Threads
- calling a jsp from a dos bat file (JSP)
- passing parameters in bat file (Visual Basic 4 / 5 / 6)
- no network access when running a bat file from the asp script (Windows Servers and IIS)
- running a .bat file in xp sp2 (Windows NT / 2000 / XP)
Other Threads in the Windows NT / 2000 / XP Forum
- Previous Thread: Windows Start-up error
- Next Thread: Error when using windows search
Views: 1263 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for Windows NT / 2000 / XP
.net 2007 2010 activedirectory apache appstore audio automatic batch beep black blue bluescreen book boot boot.ini bsod computer crash cursor deleted deployment desktop downloads drive error errors explorer explorer.exe failure firefox firewall folder fontmanagers framework freeze graphics home install installer internet ip laplink latitude lcd load logitech microsoft minimalizes monitor network options os outlook-express palm partition patch port printer problem processor program proxy recovery reformat registry remote restore router screen security sharepoint shutdown_-a simplifiedchinese slowperformance spyware temp uninstall unreadable update upgrade usb user videodrivers virus vista visual volume vulnerability wab white win win32/heur window windows windows-7 windows7 windowsxp writer xp






