Solved

Batch File at startup for vibestreamer

Posted on 2008-10-08
2
435 Views
Last Modified: 2012-05-05
I'm trying to get a startup script for vibestreamer on one of our servers to work right.  Whenever someone logs into the server or logs the last person out the program stops running.

It is a simple batch scipt that is placed in startup directory for all users "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\" right now that does open up vibestreamer when executed it runs the vibestream.bat file that is located in the program file\vibestreamer directory

the problem is when it is ran it executes vibestreamer.exe in the wrong directory "C:Documents and Settings\All Users\Start Menu\Programs"  I know this is happening because when executed it trys to create xml files in the wrong directory, xml files that should be created in the "C:\Program Files\VibeStreamer\" Directory

When I run the vibestreamer.exe file from the "C:\Program Files\VibeStreamer\" Directory it starts up fine, no issues.

Summary, I need a way to execute vibestreamer.bat file so that it runs correctly on startup for all users.


startup-bat.txt
vibestreamer.txt
0
Comment
Question by:scottiepowell
2 Comments
 
LVL 69

Accepted Solution

by:
Qlemo earned 500 total points
ID: 22667775
Use   start "" /D"C:\Program Files\VibeStreamer\" /min C:\progra~1\vibestreamer.exeto set the working directory
0
 

Author Closing Comment

by:scottiepowell
ID: 31504170
Worked Great Thanks!
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question