<?xml version="1.0" encoding="utf-8" ?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
				<channel rdf:about="http://www.winpenpack.com/">
				<title>winPenPack - The Portable Software Collection : Forum / topic</title>
				<link>http://www.winpenpack.com/</link>
				<description></description>
				<dc:language>en-gb</dc:language>
				<dc:date>2026-03-11T13:59:22+01:00</dc:date>
				<dc:creator>winpenpack@nospam.com</dc:creator>
				<admin:generatorAgent rdf:resource="http://e107.org" />
				<admin:errorReportsTo rdf:resource="mailto:winpenpack@nospam.com" />
				<sy:updatePeriod>hourly</sy:updatePeriod>
				<sy:updateFrequency>1</sy:updateFrequency>
				<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
				<items>
				<rdf:Seq>
						<rdf:li rdf:resource="http://www.winpenpack.com/en/e107_plugins/forum/forum_viewtopic.php?58377" />
				</rdf:Seq>
				</items>
				</channel>
						<item rdf:about="http://www.winpenpack.com/en/e107_plugins/forum/forum_viewtopic.php?58377">
						<title>RunBefore section not working as I thought...</title>
						<link>http://www.winpenpack.com/en/e107_plugins/forum/forum_viewtopic.php?58377</link>
						<dc:date>2026-03-11T13:59:22+01:00</dc:date>
						<dc:creator></dc:creator>
						<dc:subject></dc:subject>
						<description>X-Launcher v1.5.3[FileToRun]PathToExe=M:&#092;$AppName$&#092;$AppName$.exe[Options]RunWait=true[RunBefore]RunFile="C:&#092;Program Files&#092;SoftPerfect RAM Disk&#092;ramdiskws.exe" /mount:MNote that the M: drive letter IS NOT available until after the RunBefore RunFile executes.When the portable program is run, I see error message saying M:&#092;(path and exe) not found.In debug file:2014-03-11 14:31:31 : ================ App Name here Portable === application started ================2014-03-11 14:31:31 : Setting Global Preferences2014-03-11 14:31:31 : Setting User Preferences2014-03-11 14:31:31 : [Options] : about to execute2014-03-11 14:31:31 : --> DeleteTemp=true2014-03-11 14:31:31 : --> MultipleIstances=false2014-03-11 14:31:31 : --> FixAppData=false2014-03-11 14:31:31 : --> RunWait=true2014-03-11 14:31:31 : --> ShowSplash=false2014-03-11 14:31:31 : --> ShowTrayTip=false2014-03-11 14:31:31 : --> WriteLog=true2014-03-11 14:31:31 : --> HideShellWindow=true2014-03-11 14:31:31 : --> FirstRun=false2014-03-11 14:31:31 : --> Java=false2014-03-11 14:31:31 : --> Debug=true2014-03-11 14:31:31 : [Options] : executed2014-03-11 14:31:31 : Javacheck : executing2014-03-11 14:31:31 : >>>>>> Stopped - File To Run Error=M:&#092;AppName&#092;AppNameHere.exeIt appears in the source that some file checks are done on the PathToExe before the RunBefore section is executed, resulting in the above error as the drive letter is not yet available.As a workaround, I suppose I could point PathToExe to a batch file, which would contain the M:&#092; path and exe name.   But that doesn't sound ideal.In the x-launcher.au3 source, I could try moving the RunBefore section above the PathToExe part of the code and see what happens, but I have not programmed in AutoIt before.I realize that in X-Launcher, this situation may not have occurred before.Any ideas?  Thanks</description>
						</item>
				</rdf:RDF>