- Copy this code below to a new file with an extension cmd or bat to look like so: FreeCommander Clean Settings.bat.
- Save the file in the same folder as the Freecommander.exe.
- Double click the FreeCommander Clean Settings.bat after closing any instances of FC first.
Code: Select all
@echo off
color 5F
cd /d "%~dp0"
echo.
set "INI_FILE=FreeCommander.ini"
set "FOLDER=SettingsTestEnvironment"
set "FULLPATH=%FOLDER%\%INI_FILE%"
set "FOLDERPATH=%CD%\%FOLDER%"
title FreeCommander Test Environment [%~nx0] by Stephen Sherry
echo.------------------------------------------------------
echo.Starting FreeCommander.exe with default test settings
echo.------------------------------------------------------
echo.
echo:Does the %FOLDER% folder exist?
if not exist "%FOLDER%" (
echo.No. Creating folder:
echo."%FOLDERPATH%"
) else (
echo.Yes
)
echo.
echo.------------------------------------------------------
echo.
echo.FreeCommander Path Argument:
echo.%FULLPATH%
echo.
echo.------------------------------------------------------
echo.
pause
echo.starting the test environment now:
Start FreeCommander.exe /N /NewIni="%FULLPATH%" /NoPlugins /Lng=English
exit