Jump to content

minutka15

Member
  • Posts

    11
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    France

About minutka15

Profile Information

  • OS
    Windows 11

Recent Profile Visitors

1,162 profile views

minutka15's Achievements

0

Reputation

  1. try this one in ams, it's work function appPathOriginal() local cdPath = ""; local findMarker = "SFXSOURCE:"; local cmdArgs = ""; if (Table.Count(_CommandLineArgs) > 0) then for i = 1, Table.Count(_CommandLineArgs) do if (String.Find(_CommandLineArgs[i], findMarker) > 0) then cmdArgs = _CommandLineArgs[i]; break; end end end if (cmdArgs ~= "") then if (String.Find(cmdArgs, findMarker) == 1) then local fullPath = String.Replace(cmdArgs, findMarker, "", true); local tblFullPath = String.SplitPath(fullPath); cd_Path = tblFullPath.Drive .. tblFullPath.Folder; end else cd_Path = _SourceFolder .. "\\"; end return cd_Path; end sPath = appPathOriginal(); File.Run(sPath.."\\I386\\WINNT32.EXE", "", "", SW_SHOWNORMAL, false);
×
×
  • Create New...