Jump to content

Recommended Posts

Posted

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.cmd

ECHO.
ECHO Associating File Types
start /wait %systemdrive%\Install\filetype.bat

filetype.bat

assoc .blt=txtfile
assoc .cue=txtfile
assoc .diz=txtfile
assoc .eml=txtfile
assoc .iss=txtfile
assoc .log=txtfile
assoc .md5=txtfile
assoc .m3u=txtfile
assoc .nbi=txtfile
assoc .nfo=txtfile
assoc .nt=txtfile
assoc .pif=txtfile
assoc .sam=txtfile
assoc .sif=txtfile
assoc .sfv=txtfile

(can anyone tell me what "REM ftype will also show all registered types" mean exactly?)

Thanks in advance :)


Posted

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.

Posted

cewl! :rolleyes:

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...