The online racing simulator
.bat file for setup files
(10 posts, started )
.bat file for setup files
Could anyone send me a link to a .bat file that allows you to double click on .set file once they are downloaded (presumably into your default download file) and they get copied into your setup folder in your LFS directory instead of copying and pasting it manually.
If you have installed LFS Z28 then just open a setup file and it'll copy over.
#3 - Lible
Right click on a .set file, click properties.
Press the 'Change...' button next to 'Opens with'
Choose LFS from the list, if it is not on the list, click browse and select LFS.exe.
Tick 'Always use the selected program to open this kind of file'
Press OK and it will work as you wanted.
Quote from Lible :Right click on a .set file, click properties.
Press the 'Change...' button next to 'Opens with'
Choose LFS from the list, if it is not on the list, click browse and select LFS.exe.
Tick 'Always use the selected program to open this kind of file'
Press OK and it will work as you wanted.

Nice and fast answer.

Will try this myself aswell.

Does this also mean this setup is automaticly added to LFS setups?
Quote from boothy :If you have installed LFS Z28 then just open a setup file and it'll copy over.

What boothy was saying, is that you just have to "double-click" on a downloaded *.set file (or *.lyt, *.spr, *.mpr) to copy it to the correct folder.
This feature is available if you have latest LFS Z28.
#6 - Lible
The installer of LFS should do the associating automatically, but sometimes it doesn't work (or the user doesn't use the installer, but uses a .zip file). Then you will need to associate it manually like I described. The original poster obviously didn't have it properly associated, because he wanted a .bat file which would allow doubleclicking a .set file and I'm sure he tried the doubleclicking before requesting such a feature.

@Rockclan - this copies the setup file to the LFS setups folder
#7 - herki
Not a .bat, a .reg file:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.set]
@="set_auto_file"

[HKEY_CLASSES_ROOT\set_auto_file]
@="LFS Setup File"

[HKEY_CLASSES_ROOT\set_auto_file\shell]

[HKEY_CLASSES_ROOT\set_auto_file\shell\open]

[HKEY_CLASSES_ROOT\set_auto_file\shell\open\command]
@="\"C:\\Your\\Path\\To\\LFS.exe\" \"%1\""


Quote from Lible :...or the user doesn't use the installer, but uses a .zip file). Then you will need to associate it manually like I described...

Oh yes, of course! I didn't think about that.
Quote from Lible :
@Rockclan - this copies the setup file to the LFS setups folder

Thanks for telling me, I never knew that in all the years that i've played LFS.

This is really nice since I have loads and loads of setups from older versions, and other lfs folders, which are still useable and fast.

But since I do not want to copy them all before trying, this is a nice thing.
Quote from rockclan :Thanks for telling me, I never knew that in all the years that i've played LFS....

It was first introduced with the last version of LFS, that's why you never knew about it!!

.bat file for setup files
(10 posts, started )
FGED GREDG RDFGDR GSFDG