Reino Posted September 18, 2004 Posted September 18, 2004 As I saw in the "Gosh - Unattended Tips and Tricks" topic the possibility to implent file association type in to your unattended cd...could anyone tell me if the following code is correct for that to work!?RunOnceEx.cmdECHO.ECHO Associating File Typesstart /wait %systemdrive%\Install\filetype.batfiletype.batassoc .blt=txtfileassoc .cue=txtfileassoc .diz=txtfileassoc .eml=txtfileassoc .iss=txtfileassoc .log=txtfileassoc .md5=txtfileassoc .m3u=txtfileassoc .nbi=txtfileassoc .nfo=txtfileassoc .nt=txtfileassoc .pif=txtfileassoc .sam=txtfileassoc .sif=txtfileassoc .sfv=txtfile(can anyone tell me what "REM ftype will also show all registered types" mean exactly?)Thanks in advance
sleepnmojo Posted September 18, 2004 Posted September 18, 2004 Yeah it should work. When used in conjunction with ftype, this can be a pretty powerful tool. Look at ftype /? and assoc /? to get a better idea of the two.However it does have its limitations, such as you can't specify icons, which you'll have to go into the registry. I started off with the ftype/assoc way, but ultimately went down the registry path.As for your REM question, REM is a comment. Do a REM /? for more information.
Reino Posted September 18, 2004 Author Posted September 18, 2004 cewl! so nothing in filetype.bat needs to be changed?and...are the commands language sensitive?I mean...as you can see I'm dutch and so I have a Dutch version of WinXP.because of that do i need to change "assoc .nfo=txtfile" for instance in "assoc .nfo=Tekstdocument" > does it really matter!?thanks in advance
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