Click here to Skip to main content
15,910,009 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: compilation of UTF-8 in visual cpp Pin
Michael Dunn27-Aug-07 7:05
sitebuilderMichael Dunn27-Aug-07 7:05 
Questionsystem command Pin
IlanTal26-Aug-07 19:50
IlanTal26-Aug-07 19:50 
AnswerRe: system command Pin
Naveen26-Aug-07 20:00
Naveen26-Aug-07 20:00 
GeneralRe: system command Pin
IlanTal26-Aug-07 20:04
IlanTal26-Aug-07 20:04 
GeneralRe: system command Pin
Naveen26-Aug-07 20:07
Naveen26-Aug-07 20:07 
GeneralRe: system command Pin
IlanTal26-Aug-07 20:16
IlanTal26-Aug-07 20:16 
GeneralRe: system command Pin
Naveen26-Aug-07 20:21
Naveen26-Aug-07 20:21 
GeneralRe: system command Pin
IlanTal26-Aug-07 20:40
IlanTal26-Aug-07 20:40 
Really? Unbelievable!
Maybe the problem is that I'm giving an input and an output filename as parameters?
If I do it at a command prompt with quotes, all works perfectly OK.
If I do it by using system - on exactly the same string, it does nothing.
I tried even moving the quotes to the directory with spaces, but it made no difference.
c:"a b c"\dcmdjpeg C:\ic2006\dicom\kressel\study1\ctseries\view0405.dcm c:"a b c"\jpegUncompress.dcm

I made a directory "a b c" just for test purposes. In this case I forgot the backslash "c:\a b c", but that isn't the problem.

Could you do me a favor and see if system works if you pass parameters?
For me it works fine so long as I don't both spaces in the path and spaces to separate parameters.

Thanks,
Ilan

GeneralRe: system command Pin
Naveen26-Aug-07 20:48
Naveen26-Aug-07 20:48 
GeneralRe: system command Pin
IlanTal26-Aug-07 21:01
IlanTal26-Aug-07 21:01 
GeneralRe: system command Pin
Naveen26-Aug-07 21:10
Naveen26-Aug-07 21:10 
GeneralRe: system command Pin
IlanTal26-Aug-07 21:43
IlanTal26-Aug-07 21:43 
GeneralRe: system command Pin
IlanTal26-Aug-07 22:30
IlanTal26-Aug-07 22:30 
GeneralRe: system command Pin
Naveen26-Aug-07 22:31
Naveen26-Aug-07 22:31 
GeneralRe: system command Pin
IlanTal27-Aug-07 2:20
IlanTal27-Aug-07 2:20 
GeneralRe: system command Pin
Naveen27-Aug-07 2:23
Naveen27-Aug-07 2:23 
GeneralRe: system command Pin
IlanTal27-Aug-07 2:40
IlanTal27-Aug-07 2:40 
GeneralRe: system command Pin
IlanTal27-Aug-07 3:57
IlanTal27-Aug-07 3:57 
GeneralRe: system command Pin
Naveen27-Aug-07 4:35
Naveen27-Aug-07 4:35 
AnswerRe: system command Pin
toxcct26-Aug-07 21:06
toxcct26-Aug-07 21:06 
Questiondifference between debug-build and release build Pin
neha.agarwal2726-Aug-07 19:47
neha.agarwal2726-Aug-07 19:47 
AnswerRe: difference between debug-build and release build Pin
ShilpiP26-Aug-07 20:39
ShilpiP26-Aug-07 20:39 
AnswerRe: difference between debug-build and release build Pin
Hamid_RT26-Aug-07 21:18
Hamid_RT26-Aug-07 21:18 
AnswerRe: difference between debug-build and release build Pin
Rajesh R Subramanian26-Aug-07 23:08
professionalRajesh R Subramanian26-Aug-07 23:08 
AnswerRe: difference between debug-build and release build Pin
Russell'27-Aug-07 1:44
Russell'27-Aug-07 1:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.