Steve Conklin (Developer@UltraDNT)
Developer at UltraDNT.com
Tue Jul 27 23:54:58 CDT 2004
If you can sit at the 98 machine, right-click the batch file, click Properties, and then check "Close On Exit." ... If you can't visit each 98 machine personally, I know I used do this via login script ...IIRC (this was a while ago!), I would click that property on from my workstation... Doing that would generate a .PIF (or .LNK ?) file. I would use the login script send that file to each users' C:\WINDOWS\COMMAND folder ... Then when they ran that particular batch, those PIF settings would kick in. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Tuesday, July 27, 2004 8:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K: WIN 98 machines are driving me crazy Steve may thanks that works great Any way of forcing the 'BATCH' window shut after it has run on WIN 98 machines? ----- Original Message ----- From: "Steve Conklin (Developer at UltraDNT)" <Developer at UltraDNT.com> To: "'Access Developers discussion and problem solving'" <accessd at databaseadvisors.com> Sent: Wednesday, July 28, 2004 2:37 AM Subject: RE: [AccessD] A2K: WIN 98 machines are driving me crazy > How about changing: > c:\Progra~1\Truman\Truman.mdb > To: > START c:\Progra~1\Truman\Truman.mdb > > Hth > Steve > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK > Sent: Tuesday, July 27, 2004 12:49 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K: WIN 98 machines are driving me crazy > > > Thanks Stuart > That sounds about right > Many thanks > > Darren > > ----- Original Message ----- > From: "Stuart McLachlan" <stuart at lexacorp.com.pg> > To: "Access Developers discussion and problemsolving" > <accessd at databaseadvisors.com> > Sent: Tuesday, July 27, 2004 2:41 PM > Subject: Re: [AccessD] A2K: WIN 98 machines are driving me crazy > > > > > > > > So I thought I would just launch the app from the users desktop > > > with > > > > a BATCH file. The batch file copies the new version each and every > > > time (whether it's new or not) then sparks up the app, all from > > > within the batch file Simple - on XP and WIN2000 at least > > > > > > Here is the batch file............... > > > REM START BATCH FILE########################################### > > > echo Updating your system to the latest Version of TruMan... copy > > > S:\Truman\Update\TRUMAN.MDB c:\Progra~1\Truman\Truman.mdb > > > c:\Progra~1\Truman\Truman.mdb REM END BATCH FILE > > > ########################################### > > > on XP and WIN2000 No Problem But when I run the BATCH file on a 98 > > > machine I get... 1 file(s) copied (Great it copied the file) Bad > > > command or file name (Bugger it doesn't spark up the app) > > > > > > The S drive location of the new app is valid. The destination > > > folder > > > > in Program files and the existence > > > of the 'old' version is valid. (Remember this works on XP and > WIN2000) > > > > > > The on the Win 98 machine if I copy the line " > > > c:\Progra~1\Truman\Truman.mdb" from the batch file and clickon > > > Start|Run and paste c:\Progra~1\Truman\Truman.mdb it sparks up the > > > app as desired. So it works from Start|Run but not a > > > batchfile?????!!!!!!! > > > > > > I'm stumped - any suggestions? > > > > > > > IIRC, in Win9X, you need to specify the application in batch files > > (and in > > scheduled tasks?) so you will need something like: > > > > "C:\Program Files\MSOffice\Office\MSAccess.exe" "C:\Program > > Files\Truman\Truman.mdb" > > > > -- > > Lexacorp Ltd > > http://www.lexacorp.com.pg > > Information Technology Consultancy, Software Development,System > Support. > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com