Re: Whats going on!?!?




Click on Start, click on Run, type CMD, press Enter, and enter these
commands:

assoc /?
ftype /?
Ok here you go, this is what i get, maybe you guys know what i need to
do.. oh yea dont get fooled by my default location, i changed it to that
file a while ago and things have been working fine.


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\TestProgramsT>assoc /?
Displays or modifies file extension associations

ASSOC [.ext[=[fileType]]]

.ext Specifies the file extension to associate the file type with
fileType Specifies the file type to associate with the file extension

Type ASSOC without parameters to display the current file associations.
If ASSOC is invoked with just a file extension, it displays the current
file association for that file extension. Specify nothing for the file
type and the command will delete the association for the file extension.

C:\TestProgramsT>ftype /?
Displays or modifies file types used in file extension associations

FTYPE [fileType[=[openCommandString]]]

fileType Specifies the file type to examine or change
openCommandString Specifies the open command to use when launching
files
of this type.

Type FTYPE without parameters to display the current file types that
have open command strings defined. FTYPE is invoked with just a file
type, it displays the current open command string for that file type.
Specify nothing for the open command string and the FTYPE command will
delete the open command string for the file type. Within an open
command string %0 or %1 are substituted with the file name being
launched through the assocation. %* gets all the parameters and %2
gets the 1st parameter, %3 the second, etc. %~n gets all the remaining
parameters starting with the nth parameter, where n may be between 2 and
9,
inclusive. For example:

ASSOC .pl=PerlScript
FTYPE PerlScript=perl.exe %1 %*

would allow you to invoke a Perl script as follows:
Press any key to continue . . .
--
Posted via http://www.ruby-forum.com/.

.



Relevant Pages

  • Re: link exe files to WSS 3.0
    ... You deleted the file type from the blocked file type list. ... things work at the command line when they don't in the GUI (and don't ask me ... And finally, what exactly is the file extension, and what exactly happens ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Repost: Code behind events are not firing
    ... IE in a separate window through http. ... unchecked in the file type configuration. ... When a browser runs Word on the command line, ...
    (microsoft.public.vsnet.vstools.office)
  • Re: I hate Word
    ... I just looked for an import command and no luck, ... do that if you select "text" file type in the open dialog. ... Works great for s-param files in pdf. ... smith chart app. ...
    (sci.electronics.design)
  • Re: assoc/ftype problems
    ... HKCU allows for unique customization of file type associations in the user's ... Entries in HKCU take precedence in the event of a duplication. ... the command line of a console running CMD.EXE are processed according ... | C:\>ftype Perl ...
    (microsoft.public.windows.server.general)
  • Re: Overwritting a file type association
    ... associated application for this file type. ... Is there any potential problems to deleting the "command" key? ... If an MSI installation was used ... Also try a registry search on one of those ...
    (microsoft.public.win2000.registry)