Skip to main content
GameDev.net gamedev.net
🔒 Locked

Nokia PC suite: Programs that only need one process are for wimps!

Started by benryves Mar 8, 2005 at 10:16 AM 4 replies 2.4k views
Original Post
benryves
benryves
PC Suite tends to lose my phone. It's there - all other programs can find it, and if I close down everything apart from PC Suite my phone still declares that there's an open Bluetooth connection to my PC. PC Suite thinks otherwise. I've knocked out a simple batch file to kill PC Suite. So far it looks like this:
@ECHO OFF
:LOOP
CLS
TASKKILL /IM "Launch Application 2.exe" /F
TASKKILL /IM PcSync2.exe /F
TASKKILL /IM SERVIC~1.exe /F
TASKKILL /IM DATALA~1.exe /F
TASKKILL /IM MPAPI3s.exe /F
TASKKILL /IM VFSWRA~1.exe /F
ECHO If all tasks report process not found, my work here is done. Hit Ctrl+C
ECHO or close this window.
ECHO Otherwise, hit any other key to try and kill the other processes!
PAUSE
GOTO LOOP
The reason I have to loop is that I'm not too good at this sort of thing and if there are 7 DATALA~.exe processes running I need to run TASKKILL on it 7 times. If someone could point out how to use errorlevel, I'd be very happy - the idea was that I would do this:
:taskA
TASKKILL /IM "Launch Application 2.exe" /F
if errorlevel 0 goto taskA
...in the aim that it would try and kill the process and if it succeeded to loop around until it fails (all processes with that image name killed), but that doesn't work. However, echo %errorlevel% does return the correct results... Anyway - am I missing any processes there? *shakes fist at PC Suite*
[Website] [+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++]
PurpleAmethyst
PurpleAmethyst
PC Suite is crap FULL STOP! I have similar problem, as far as I'm concerened you are better off using a third party program.
benryves
benryves
Quote:
Original post by pkelly83
PC Suite is crap FULL STOP!


It has some benefits. Installing applications is fastish (just double click a .jar and it sends it after a single confirmation dialog) - but you can't choose which folder to save the app to.

I might have bought Oxygen but for the fact that it doesn't "truly" synch with Outlook. That said, Nokia's software doesn't help either if there's a clash: you can overwrite with the phone in priority or Outlook in priority, but it would clearly have been too much effort to code a confirmation dialog.
[Website] [+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++]
chad_420
chad_420
try IF ERRORLEVEL==2 GOTO LOOP

you can also use FOR statements, check out this site
here
chad_420
chad_420
%var% are dos enviroment variable not the same as batch file vars...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.