Cant run command from C and access a file on different drive.

We are trying run the following command from command promt (administrative mode)
 
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin> ildasm M:\Web\bin\Release\XXXTest.dll
/out M:\Web\bin\Release\XXXTest.il
 
However we are having an access error saying the file on M could not be accessed.
 
Its the problem related with the fact that the OS is on drive C and the files we want to register are on drive M ?   If so, how to solve it ?
LVL 1
AleksAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NVITEnd-user supportCommented:
Type
NET USE
Do you see M:? If not, type:
NET USE M: \\servername\sharename
Then try your command again.
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
And no, at which drive you run the command should not matter (with exception of temporary files, which might need to get created in the current drive or path). The OS partition does not matter at all.

"the file on M could not be accessed" is a little inprecise. Do you know if it complains about the DLL, or the IL file? As NVIT told, you need first to check if you have access to drive M:, then to the path. You need to be able to read and create files in that path, M:\Web\bin\Release .
Gerwin Jansen, EE MVETopic Advisor Commented:
Try registering with UNC path instead of a driveletter, so replace M with \\servername\sharename

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AleksAuthor Commented:
Trying tonight.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft DOS

From novice to tech pro — start learning today.