JScript.Net compiler error?

Sounds like you're running Vista or Windows 2008. The VS2008 command prompt is probably opening in C:\Program Files\Microsoft Visual Studio 9.0\VC .

Up vote 0 down vote favorite share g+ share fb share tw.

I create a . Js file containing print(""); I save it as hello. Js I open the Visual Studio 2008 Command Prompt jsc + Enter jsc \out:hello.

Exe C:\path\to\my\file. Js + Enter I get an E_ACCESSDENIED error: what could it be? Thanks!

Compiler error-message jscript.net link|improve this question asked Jan 17 '09 at 10:39vyger.

Sounds like you're running Vista or Windows 2008. The VS2008 command prompt is probably opening in C:\Program Files\Microsoft Visual Studio 9.0\VC>. Your /out:hello.

Exe switch doesn't specify a path so the compiler is trying to write the compiled exe to the current working folder C:\Program Files\Microsoft Visual Studio 9.0\VC> which isn't permitted with out elevated rights (i.e. Run As Administrator). The solution would be to specify the same path as your source file which is writable: jsc /out:C:\path\to\my\hello.

Exe C:\path\to\my\file. Js HTH Kev ps: if you're running 64 bit windows then the working folder path for the command prompt would be: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions