BoardBabe Posted June 26, 2005 Posted June 26, 2005 if exist "%AllUsersProfile%\Start-meny\Programmer\Intel PROSet Wireless\Intel PROSet Wireless.lnk" move /y "%AllUsersProfile%\Start-meny\Programmer\Intel PROSet Wireless\Intel PROSet Wireless.lnk" "%AllUsersProfile%\Start-meny\Programmer\Programmer\Tilbehør\Kommunikasjon"This reults in: system cannot find the specified path, because the "Ø" character (Norwegian) is not found... How do i fix this path?
gunsmokingman Posted June 26, 2005 Posted June 26, 2005 Try This And Save As MoveFile.vbs Or Whatever Name You Need.The Orange Line Can Be Removed , You Will Not Get Any Error Messages Without it in there. It Serves Only as The Error Message If TheFile Is Not There. The Green Is In Case The Spaces In The Path Cause A problem remove the ' from the start of the lineAnd Place A ' before this Fso.MoveFile(Loc1),(Loc2)Dim Act : Set Act = CreateObject("Wscript.Shell") Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject") UP = Act.ExpandEnvironmentStrings("%USERPROFILE%") SD = Act.ExpandEnvironmentStrings("%SystemDrive%") Loc1 = (UP & "Start-meny\Programmer\Intel PROSet Wireless\Intel PROSet Wireless.lnk") Loc2 = (UP & "\Start-meny\Programmer\Programmer\Tilbehør\Kommunikasjon") If Fso.FileExists(Loc1) Then Fso.MoveFile(Loc1),(Loc2) '''' To Try If The Spaces Are A Problem' Fso.MoveFile(Chr(34) & Loc1 & Chr(34)) ,(Chr(34) & Loc2 & Chr(34)) Else Act.Popup Loc1 & vbCrLf & "Was Not there", 3," Missing File", 0 + 32 End If
oneless Posted June 26, 2005 Posted June 26, 2005 many programs including XP have a lot of problems with diacritics (special chars) ,especially with them in pathes .so , i try to dont use them . is the best way .you can solve now a problem with XP , after that you might solve with winrar...so on.
BoardBabe Posted June 26, 2005 Author Posted June 26, 2005 @djbethis gave an error.Filename, foldername or volumenamesyntax is incorrect.
Incroyable HULK Posted June 26, 2005 Posted June 26, 2005 any ideas for é?Take a look at this topic http://www.msfn.org/board/index.php?showto...rench+caracters
gunsmokingman Posted June 26, 2005 Posted June 26, 2005 Try This Echo Off && CLS && Mode 55,3 && Color f3 && Title Start MakeCabSet ø=oEcho && Echo Tilbeh%ø%rping -n 4 127.0.0.1>nulexitIs This The Correct Name That You Need Save As Name.VbsMsgBox "Tilbehør"Also Try The Vbs Script If This Doesnt Work.
BoardBabe Posted June 26, 2005 Author Posted June 26, 2005 nope, didnt work. resulted in "tilbehor".vbs is no good, since im doing this from my cleanup.cmd
gunsmokingman Posted June 27, 2005 Posted June 27, 2005 You can run a Vbs From The Cleanup.cmdI use Vbs to do my clean upPlace this in the cleanup.cmdExample Inside Of A Cleanup.cmdstart / w Wscript.exe "Name Of The VBS here"orstart / w "Name Of The VBS here"What I UseEdit To Give A Example echo off && CLS && Mode 55,5 && Color f1 && Title Check For CD Set Drvs=(C: D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T: U: V: W: X: Y: Z:) Goto 004:004for %%i in %Drvs% do if exist %%i\SETUP.exe set CDROM=%%i && goto 001for %%i in %Drvs% do if not exist %%i\SETUP.exe goto 002:001CLS && Color F2 && Title Confirm The CDecho. && echo Confirm The Cd Is %CDROM%\ping -n 3 127.0.0.1>nulGoto Work:002CLS && Color Fc && Mode 55,3 && Title Missing The Correct CDEcho. && Echo Missing The Cd && ping -n 3 127.0.0.1>nulGoto 003:003ClS && Mode 50,9 && Color 5e && Title Continue Or ExitEcho. && Echo %UserName% Would You Like To Quit Or Continue && Echo.Echo Yes To Continue && Echo. && Echo No To Exit && Echo.SET Choice=SET /P Choice=Would You Like To Quit Or Continue : IF NOT '%Choice%'=='' SET Choice=%Choice:~0,4%IF /I '%Choice%'=='YES' GOTO YESIF /I '%Choice%'=='NO' GOTO UquitIF /I '%Choice%'=="%Choice%" GOTO OPS:OPSEcho. && Echo Not A Valid Replyping -n 2 127.0.0.1>nulgoto 003:UquitCls && Color F2 && Mode 62,4 && Title Quiting The Cleanup && Echo. && Echo %UserName% Has Selected To Exitping -n 4 127.0.0.1>nulGoto Quit:Yes Cls && Mode 55,5 && Color f2 && Title Continue With Clean Up && Echo. && Echo %UserName% Make Sure This Is The Correct CD!Echo Preparing To Re Check For The Correct CDping -n 4 127.0.0.1>nulGoto 004:Workecho Start workPing -3 127.0.0.0.1>nulSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\170 /VE /D "Preparing Final Clean up ..." /fREG ADD %KEY%\170 /V 1 /D "%CDROM%Apps\SilentUaC.exe" /fClean up Templates ThreadSilentUac Download
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now