cmd /c start
-
Hi! Is this stupid or not? I am writing a fileserch program in Java, but I have to use the cmd /c start command if a user want to run a file from my program. Example: cmd /c start notepad.exe will run the notepad. But this wont work cmd /c start c:\My Music\accept.mp3 WHY!! start cant take arguments with space like My Music..! I have to write my own start.exe and send it with my program?? If you have a solution to this problem pleas help..! /Jarek It has recently been discovered that research causes cancer in rats.
What do you want to patch today? -
Hi! Is this stupid or not? I am writing a fileserch program in Java, but I have to use the cmd /c start command if a user want to run a file from my program. Example: cmd /c start notepad.exe will run the notepad. But this wont work cmd /c start c:\My Music\accept.mp3 WHY!! start cant take arguments with space like My Music..! I have to write my own start.exe and send it with my program?? If you have a solution to this problem pleas help..! /Jarek It has recently been discovered that research causes cancer in rats.
What do you want to patch today?Jarek Gibek wrote: cmd /c start c:\\My Music\accept.mp3 WHY!! 1. Because there's no player associated with .mp3 extension 2. c:\\My Music\accept.mp3? Is it a typo or really there is a '\' missing or extra on your path?? My latest article: SQL Server DO's and DONT's[^]
-
Jarek Gibek wrote: cmd /c start c:\\My Music\accept.mp3 WHY!! 1. Because there's no player associated with .mp3 extension 2. c:\\My Music\accept.mp3? Is it a typo or really there is a '\' missing or extra on your path?? My latest article: SQL Server DO's and DONT's[^]
-
No its not that! its the space between My and Music the extra \ is a typo! /Jarek It has recently been discovered that research causes cancer in rats.
What do you want to patch today?I'm so sleepy today that I didn't notice this. This and the fact you posted a programming question in the Lounge. Worst, a Java programming question! :) My latest article: SQL Server DO's and DONT's[^]
-
Hi! Is this stupid or not? I am writing a fileserch program in Java, but I have to use the cmd /c start command if a user want to run a file from my program. Example: cmd /c start notepad.exe will run the notepad. But this wont work cmd /c start c:\My Music\accept.mp3 WHY!! start cant take arguments with space like My Music..! I have to write my own start.exe and send it with my program?? If you have a solution to this problem pleas help..! /Jarek It has recently been discovered that research causes cancer in rats.
What do you want to patch today? -
Write the filesearch program in c++ and start it from your java app. /M
- Don't sweat the petty things, and don't pet the sweaty things.
I already did that :) But I don't want to lock the program to window! I need to use it on Linux, G4, Unix and windows. Thats why it is made in Java. And java handle recursive programming "easier" than C++, I alway end upp with out of stack memory in C++ :-( /Jarek It has recently been discovered that research causes cancer in rats.
What do you want to patch today? -
I already did that :) But I don't want to lock the program to window! I need to use it on Linux, G4, Unix and windows. Thats why it is made in Java. And java handle recursive programming "easier" than C++, I alway end upp with out of stack memory in C++ :-( /Jarek It has recently been discovered that research causes cancer in rats.
What do you want to patch today?Jarek Gibek wrote: But I don't want to lock the program to window! I need to use it on Linux, G4, Unix and windows. Thats why it is made in Java. So you decided to use java which makes the prog unusable on all platforms? ;P /M
- Don't sweat the petty things, and don't pet the sweaty things.
-
Jarek Gibek wrote: But I don't want to lock the program to window! I need to use it on Linux, G4, Unix and windows. Thats why it is made in Java. So you decided to use java which makes the prog unusable on all platforms? ;P /M
- Don't sweat the petty things, and don't pet the sweaty things.
-
Hi! Is this stupid or not? I am writing a fileserch program in Java, but I have to use the cmd /c start command if a user want to run a file from my program. Example: cmd /c start notepad.exe will run the notepad. But this wont work cmd /c start c:\My Music\accept.mp3 WHY!! start cant take arguments with space like My Music..! I have to write my own start.exe and send it with my program?? If you have a solution to this problem pleas help..! /Jarek It has recently been discovered that research causes cancer in rats.
What do you want to patch today?You need quotes around the MP3 filename, because it contains spaces. --Mike-- "alyson hannigan is so cute it's crazy" -- Googlism Just released - 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm