How to find - Windows Applicatin Bootup Disk?
Hi,
We are developing windows application , I would like to know (Property or Coding) for find out the Default BOOT DISK ?.
1.If windows (OS-XP) files in C: then what is the default BOOT DISK?.
2.If windows (OS-XP) files in D: then what is the default BOOT DISK?
Thanks
Anandan k
[319 byte] By [
Anandan K] at [2007-11-11 9:52:21]

# 1 Re: How to find - Windows Applicatin Bootup Disk?
#include<iostream.h>
void main( int argc, char *argv[], char *envp[] )
{ cout<<envp[7];
}
at most it's " c: " ..
Amahdy at 2007-11-11 17:23:34 >

# 2 Re: How to find - Windows Applicatin Bootup Disk?
#include<iostream.h>
void main( int argc, char *argv[], char *envp[] )
{ cout<<envp[7];
}
at most it's " c: " ..
I got the result thru the above coding:
C:\> bootdisk FP_NO_HOST_CHECK=NO
Here how can i get the Boot Disk?
Advance Thanks
Anandan k
# 3 Re: How to find - Windows Applicatin Bootup Disk?
Hi,
I got the result thru the above coding:
C:\> bootdisk FP_NO_HOST_CHECK=NO
Here how can i get the Boot Disk?
Advance Thanks
Anandan k
# 4 Re: How to find - Windows Applicatin Bootup Disk?
Hi,
I got the result thru the above coding:
C:\> bootdisk FP_NO_HOST_CHECK=NO
Here how can i get the Boot Disk?
Advance Thanks
Anandan k
I think you r searching the letter 'c' okey ?
do u mean the result is "c:\..." ?
#include<iostream.h>
void main( int argc, char *argv[], char *envp[] )
{ cout<<envp[7][0]; //result C
//cout<<envp[7][0]<<envp[7][1]; result C:
}
The strange in this I got a different result !
BOOTDISK=C:
hence you must get envp[7][9] , and for the second method in plus u need envp[7][10] .
Hope it helps .
Amahdy at 2007-11-11 17:26:37 >
