DSDPlus Has anyone made a batch file to start DSD Fastlane automatically.

Status
Not open for further replies.

KMG54

Active Member
Premium Subscriber
Joined
Apr 24, 2011
Messages
1,344
Reaction score
581
Location
Easley S.C.
So looking at scanner prices and being a cheapskate, I pickup a cheap intel duo celeron NUC. It works fantastic in the house. My idea was for mobile use. I would like to turn the NUC on and have it boot up and run Fastlane. Any pointers here?
 

w2lie

New York DB Admin
Database Admin
Joined
Mar 2, 2004
Messages
1,706
Reaction score
941
Location
Long Island, NY
Try This into a bat file and put it into your startup folder:

START cmd /c "c:\<path to dsdplus>\fmp24 <flags>
START cmd /c "c:\<path to dsdplus>\dsdplus <flags>
 

KMG54

Active Member
Premium Subscriber
Joined
Apr 24, 2011
Messages
1,344
Reaction score
581
Location
Easley S.C.
Using a RTL, so guess I would change the first line to FMP24 CC and the second line to R1. exe am I correct?
I am using the fastlane release.
 

slicerwizard

Member
Joined
Sep 19, 2002
Messages
7,800
Reaction score
2,192
Location
Toronto, Ontario
Try This into a bat file and put it into your startup folder:

START cmd /c "c:\<path to dsdplus>\fmp24 <flags>
START cmd /c "c:\<path to dsdplus>\dsdplus <flags>
Probably wouldn't work.

CHDIR <path to DSDPlus>
START cmd /c FMP24 <flags>
START cmd /c DSDPlus <flags>
 

maus92

Member
Premium Subscriber
Joined
Jun 23, 2004
Messages
8,823
Reaction score
2,624
Location
OCMD
I had to build in delays in my batch file.
 

LD723

Member
Joined
Dec 8, 2016
Messages
264
Reaction score
62
What I do is I create the batch file in the dsdplus folder, then I create a shortcut of the batch file to the desktop but there's other ways to do it like other mentioned up top.
 

KMG54

Active Member
Premium Subscriber
Joined
Apr 24, 2011
Messages
1,344
Reaction score
581
Location
Easley S.C.
Late night at work, so have not tried yet, but will in the next couple of nights. Ultimate goal is is running now On a cheap celeron NUC that will go under the passenger seat, a 5 inch monitor I have here and bluetooth to the car stereo. Just have to get the batch file going hen it will be my mobile Palmetto 800 scanner.
 

KMG54

Active Member
Premium Subscriber
Joined
Apr 24, 2011
Messages
1,344
Reaction score
581
Location
Easley S.C.
One mod I made last night that worked much to my suprise, was switching from a RTL V3 to a orange flight aware stick with the amp in it. Figured I would overload, but much to my surprise, much better reception. Will see what happens in the wild with my roof mount 800 antenna, but for a 800 dipole in the house, huge difference for the better with that stick.
 

slicerwizard

Member
Joined
Sep 19, 2002
Messages
7,800
Reaction score
2,192
Location
Toronto, Ontario
Why not? I've been doing that for over a year. I've never had to CHDIR into the active directory.
Ok, if that's the case then Windows is running the batch file in the folder the file resides in. It's not behavior that I'd personally rely on.
 

a417

Active Member
Joined
Mar 14, 2004
Messages
4,665
Reaction score
3,530
Ok, if that's the case then Windows is running the batch file in the folder the file resides in. It's not behavior that I'd personally rely on.
What @w2lie posted works, as he is explicitly calling FMPx & DSDPlus via the full path to the program, not requiring it to be in the %PATH% directory (or present).

If you make a .bat and place it in the DSD root folder, the shortcut you place in the startup folder (which I am also assuming @w2lie meant) can have it's "start in" folder declared in the properties, can be set to the DSD plus folder, and can omit the pathing in the "cmd /c" call and just call fmp24/DSDplus.

You're right, I don't personally rely on it...because Microsoft, but in this instance it works. With them usually making a mess of things or changing how they want to interpret their own past precedents, I prefer to keep my paths short, my declarations explicit and backups offsite.
 

slicerwizard

Member
Joined
Sep 19, 2002
Messages
7,800
Reaction score
2,192
Location
Toronto, Ontario
What @w2lie posted works, as he is explicitly calling FMPx & DSDPlus via the full path to the program
That's not what makes it work. If you open a command prompt window, CD away from your DSD+ folder (if required), then <DSDPlusPath\DSDPlus.exe> and press Enter, DSD+ won't run. For me, it immediately fails due to missing DLL files.

The posted content works not because explicit paths were specified, but because the content was already being run in that path. Specifying the paths was redundant / did nothing.
 

a417

Active Member
Joined
Mar 14, 2004
Messages
4,665
Reaction score
3,530
That's not what makes it work. If you open a command prompt window, CD away from your DSD+ folder (if required), then <DSDPlusPath\DSDPlus.exe> and press Enter, DSD+ won't run. For me, it immediately fails due to missing DLL files.

The posted content works not because explicit paths were specified, but because the content was already being run in that path. Specifying the paths was redundant / did nothing.
Weird, I'll look into why mine works. Hmm. Thanks for that.
 

KMG54

Active Member
Premium Subscriber
Joined
Apr 24, 2011
Messages
1,344
Reaction score
581
Location
Easley S.C.
Mine worked without the CD command. Set it up mobile today, need a mouse in the car to clear the log windows. My 49 buck Pi touch screen does not work with windows. The display works, but now touch scree. Time for another cheap touchscreen to try.
 
Status
Not open for further replies.
Top