Jump to content

Recommended Posts


Posted

I just have to ask... again. :) If I put C:\WIN51IP won't the script look for the dir? Wouldn't it be better to put C:\boot.bin instead?

Posted

any idea how can I bundle this into the install CD ?

C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Wallpaper1.bmp

it's the converted current wallpaper

Posted

Please don't just add in posts to an existing thread......

Only replies to a previous post are normally posted in a running topic (such as this).

You can start a new topic and post your batch-file - that way lots more people will see it, otherwise, most will simply skip reading a thread that they've already seen.

Posted

Nice work..

To save some typing you might change your batch to something like this loop for finding your source.

FOR %%I IN (D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z) DO (

IF EXIST %%I:\WIN51IP.SP1 SET CDROM=%%I:

)

Same for:

FOR %%I IN(.blt,.cue,.diz,.eml,.iss,ETC,ETC...) DO (

ASSOC %%I=txtfile

)

  • 5 weeks later...
Posted

sorry to bump into this rather already old topic, but I'd like to ask gosh something about Trick #3: Associate file types...

REM ftype will also show all registered types

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

assoc *=txtfile

What do you exactly mean by...REM ftype will also show all registered types...?

and the last one: assoc *=txtfile...doens't this mean all other files will be associated to a txtfile? :huh:

then...if I put your assoc commands in "filetype.cmd" for instance and I link that in "RunOnceEx.cmd" like this:

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

Whould that work? :rolleyes:

Posted (edited)

i wanted to use the 'association file types' method too, for my Unattended XP CD.

in fact it simply doesn't work at all, for me :(

here is what i use :

assoc.bat is launched at the begining of my RunOnceEx.cmd :

CLS
@echo off

REM ftype will also show all registered types
assoc .log=txtfile
assoc .nfo=txtfile
assoc .sfv=txtfile
assoc .sif=txtfile
assoc .srt=txtfile
assoc .sub=txtfile
assoc *=txtfile

EXIT

part from runonceex.cmd :

REG ADD %KEY%\001 /V 2 /D "%systemdrive%\Install\assoc.bat" /f

i suppose the method can work, my knowlegde in unattended cd creation is not enough advanced, but in my case it has no effect.

:huh:

Edited by r0sWell
Posted
Rename your batch file to assoc.bat

oh, i made a type error, i edit my previous post.

of course, it's assoc.bat and not assoc.cmd which is called in runonceex.cmd

sorry

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