Can't seem to get csc.exe to run from my home machine which has asp.net 1.1
installed.
I added the path variable and in the command prompt where I am running my
make file I am getting the error:
'csc' is not recognized as an internal or external command,operable program
or batch file.
I added the path of the csc.exe file to the path system environment
variable.
Path=C:\execupay;C:\WINDOWS\system32;C:\WINDOWS;C: \WINDOWS\System32\Wbem;C:\Prog
ram Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL
Serv
er\80\Tools\Binn\;C:\Program
Files\QuickTime\QTSystem\;C:\WINDOWS\Microsoft.NET \
Framework\v1.1.4322
Here is the address from Windows Explorer:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
Here is the makefile:
attrib user.dll -r
csc /t:library User.cs /r:system.web.dll /r:system.data.dll /r:system.dll
/r:system.xml.dll /r:nullHandler.dll /r:DBTypes.dll /r:DBObject.dll
attrib ..\bin\User.dll -r
copy User.dll ..\bin\*.*
Here is the result:
************************************************** *****
C:\Inetpub\wwwroot\Interez\Classes>makeuser
C:\Inetpub\wwwroot\Interez\Classes>attrib user.dll -r
C:\Inetpub\wwwroot\Interez\Classes>csc /t:library User.cs /r:system.web.dll
/r:s
ystem.data.dll /r:system.dll /r:system.xml.dll /r:nullHandler.dll
/r:DBTypes.dll
/r:DBObject.dll
'csc' is not recognized as an internal or external command,
operable program or batch file.
C:\Inetpub\wwwroot\Interez\Classes>attrib ..\bin\User.dll -r
C:\Inetpub\wwwroot\Interez\Classes>copy User.dll ..\bin\*.*
1 file(s) copied.
C:\Inetpub\wwwroot\Interez\Classes>
************************************************** ********
I had closed and restarted another command windows after adding the
environment variable and as you can see it is in the path.
What else am I missing?
Thanks,
Tom 7 4135
What I don't understand is that this was run using cmd.exe - which is the
newer command prompt.
If I run this using command.com, it works fine. But this is the older msdos
command prompt.
Why doesn't the newer program run it - it is in the path and obviously the
older program doesn't have a problem with it?
Thanks,
Tom
"tshad" <tf*@dslextreme.comwrote in message
news:%2******************@TK2MSFTNGP03.phx.gbl...
Can't seem to get csc.exe to run from my home machine which has asp.net
1.1 installed.
I added the path variable and in the command prompt where I am running my
make file I am getting the error:
'csc' is not recognized as an internal or external command,operable
program or batch file.
I added the path of the csc.exe file to the path system environment
variable.
Path=C:\execupay;C:\WINDOWS\system32;C:\WINDOWS;C: \WINDOWS\System32\Wbem;C:\Prog
ram Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft
SQL Serv
er\80\Tools\Binn\;C:\Program
Files\QuickTime\QTSystem\;C:\WINDOWS\Microsoft.NET \
Framework\v1.1.4322
Here is the address from Windows Explorer:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
Here is the makefile:
attrib user.dll -r
csc /t:library User.cs /r:system.web.dll /r:system.data.dll /r:system.dll
/r:system.xml.dll /r:nullHandler.dll /r:DBTypes.dll /r:DBObject.dll
attrib ..\bin\User.dll -r
copy User.dll ..\bin\*.*
Here is the result:
************************************************** *****
C:\Inetpub\wwwroot\Interez\Classes>makeuser
C:\Inetpub\wwwroot\Interez\Classes>attrib user.dll -r
C:\Inetpub\wwwroot\Interez\Classes>csc /t:library User.cs
/r:system.web.dll /r:s
ystem.data.dll /r:system.dll /r:system.xml.dll /r:nullHandler.dll
/r:DBTypes.dll
/r:DBObject.dll
'csc' is not recognized as an internal or external command,
operable program or batch file.
C:\Inetpub\wwwroot\Interez\Classes>attrib ..\bin\User.dll -r
C:\Inetpub\wwwroot\Interez\Classes>copy User.dll ..\bin\*.*
1 file(s) copied.
C:\Inetpub\wwwroot\Interez\Classes>
************************************************** ********
I had closed and restarted another command windows after adding the
environment variable and as you can see it is in the path.
What else am I missing?
Thanks,
Tom
tshad <tf*@dslextreme.comwrote:
What I don't understand is that this was run using cmd.exe - which is the
newer command prompt.
If I run this using command.com, it works fine. But this is the older msdos
command prompt.
Why doesn't the newer program run it - it is in the path and obviously the
older program doesn't have a problem with it?
Had you opened the command prompt before you change the environment
variables, by any chance? Changes don't affect existing command
prompts, only new ones.
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
You probably need to execute vsvars32.bat to setup the environment
before you can us it. Following is where it is in my system \Program
Files\Microsoft Visual Studio 8\Common7\Tools\
Hope this helps
Leon Lambert
tshad wrote:
Can't seem to get csc.exe to run from my home machine which has asp.net 1.1
installed.
I added the path variable and in the command prompt where I am running my
make file I am getting the error:
'csc' is not recognized as an internal or external command,operable program
or batch file.
I added the path of the csc.exe file to the path system environment
variable.
Path=C:\execupay;C:\WINDOWS\system32;C:\WINDOWS;C: \WINDOWS\System32\Wbem;C:\Prog
ram Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL
Serv
er\80\Tools\Binn\;C:\Program
Files\QuickTime\QTSystem\;C:\WINDOWS\Microsoft.NET \
Framework\v1.1.4322
Here is the address from Windows Explorer:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
Here is the makefile:
attrib user.dll -r
csc /t:library User.cs /r:system.web.dll /r:system.data.dll /r:system.dll
/r:system.xml.dll /r:nullHandler.dll /r:DBTypes.dll /r:DBObject.dll
attrib ..\bin\User.dll -r
copy User.dll ..\bin\*.*
Here is the result:
************************************************** *****
C:\Inetpub\wwwroot\Interez\Classes>makeuser
C:\Inetpub\wwwroot\Interez\Classes>attrib user.dll -r
C:\Inetpub\wwwroot\Interez\Classes>csc /t:library User.cs /r:system.web.dll
/r:s
ystem.data.dll /r:system.dll /r:system.xml.dll /r:nullHandler.dll
/r:DBTypes.dll
/r:DBObject.dll
'csc' is not recognized as an internal or external command,
operable program or batch file.
C:\Inetpub\wwwroot\Interez\Classes>attrib ..\bin\User.dll -r
C:\Inetpub\wwwroot\Interez\Classes>copy User.dll ..\bin\*.*
1 file(s) copied.
C:\Inetpub\wwwroot\Interez\Classes>
************************************************** ********
I had closed and restarted another command windows after adding the
environment variable and as you can see it is in the path.
What else am I missing?
Thanks,
Tom
On Sep 21, 11:02 am, Leon Lambert <lambe...@inil.comwrote:
You probably need to execute vsvars32.bat to setup the environment
before you can us it. Following is where it is in my system \Program
Files\Microsoft Visual Studio 8\Common7\Tools\
Just the path should be enough - that's what I've tended to use,
historically.
Jon
"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP*********************@msnews.microsoft.com. ..
tshad <tf*@dslextreme.comwrote:
>What I don't understand is that this was run using cmd.exe - which is the newer command prompt.
If I run this using command.com, it works fine. But this is the older msdos command prompt.
Why doesn't the newer program run it - it is in the path and obviously the older program doesn't have a problem with it?
Had you opened the command prompt before you change the environment
variables, by any chance? Changes don't affect existing command
prompts, only new ones.
I did and I even restarted the machine. You can see in the Path variable
that the path is there. And command.com works.
Tom
>
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
"Leon Lambert" <la******@inil.comwrote in message
news:OU**************@TK2MSFTNGP03.phx.gbl...
You probably need to execute vsvars32.bat to setup the environment before
you can us it. Following is where it is in my system \Program
Files\Microsoft Visual Studio 8\Common7\Tools\
Nope.
Tried that in C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools, but it still doesn't work, nor does vbc.
Something is cmd.exe is preventing it from running, since command.com works
fine.
Thanks
Tom
>
Hope this helps
Leon Lambert
tshad wrote:
>Can't seem to get csc.exe to run from my home machine which has asp.net 1.1 installed.
I added the path variable and in the command prompt where I am running my make file I am getting the error:
'csc' is not recognized as an internal or external command,operable program or batch file.
I added the path of the csc.exe file to the path system environment variable.
Path=C:\execupay;C:\WINDOWS\system32;C:\WINDOWS;C :\WINDOWS\System32\Wbem;C:\Prog ram Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL Serv er\80\Tools\Binn\;C:\Program Files\QuickTime\QTSystem\;C:\WINDOWS\Microsoft.NE T\ Framework\v1.1.4322
Here is the address from Windows Explorer:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
Here is the makefile:
attrib user.dll -r csc /t:library User.cs /r:system.web.dll /r:system.data.dll /r:system.dll /r:system.xml.dll /r:nullHandler.dll /r:DBTypes.dll /r:DBObject.dll attrib ..\bin\User.dll -r copy User.dll ..\bin\*.*
Here is the result: ************************************************* ****** C:\Inetpub\wwwroot\Interez\Classes>makeuser
C:\Inetpub\wwwroot\Interez\Classes>attrib user.dll -r
C:\Inetpub\wwwroot\Interez\Classes>csc /t:library User.cs /r:system.web.dll /r:s ystem.data.dll /r:system.dll /r:system.xml.dll /r:nullHandler.dll /r:DBTypes.dll /r:DBObject.dll 'csc' is not recognized as an internal or external command, operable program or batch file.
C:\Inetpub\wwwroot\Interez\Classes>attrib ..\bin\User.dll -r
C:\Inetpub\wwwroot\Interez\Classes>copy User.dll ..\bin\*.* 1 file(s) copied.
C:\Inetpub\wwwroot\Interez\Classes> ************************************************* *********
I had closed and restarted another command windows after adding the environment variable and as you can see it is in the path.
What else am I missing?
Thanks,
Tom
You didn't modify your path in the autoexec.dos file did you?
If so, modify autoexec.nt instead.
M2c
"tshad" <tf*@dslextreme.comwrote in message
news:OH**************@TK2MSFTNGP03.phx.gbl...
What I don't understand is that this was run using cmd.exe - which is the
newer command prompt.
If I run this using command.com, it works fine. But this is the older
msdos
command prompt.
Why doesn't the newer program run it - it is in the path and obviously the
older program doesn't have a problem with it?
Thanks,
Tom
"tshad" <tf*@dslextreme.comwrote in message
news:%2******************@TK2MSFTNGP03.phx.gbl...
Can't seem to get csc.exe to run from my home machine which has asp.net
1.1 installed.
I added the path variable and in the command prompt where I am running
my
make file I am getting the error:
'csc' is not recognized as an internal or external command,operable
program or batch file.
I added the path of the csc.exe file to the path system environment
variable.
Path=C:\execupay;C:\WINDOWS\system32;C:\WINDOWS;C: \WINDOWS\System32\Wbem;C:\
Prog
ram Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft
SQL Serv
er\80\Tools\Binn\;C:\Program
Files\QuickTime\QTSystem\;C:\WINDOWS\Microsoft.NET \
Framework\v1.1.4322
Here is the address from Windows Explorer:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
Here is the makefile:
attrib user.dll -r
csc /t:library User.cs /r:system.web.dll /r:system.data.dll
/r:system.dll
/r:system.xml.dll /r:nullHandler.dll /r:DBTypes.dll /r:DBObject.dll
attrib ..\bin\User.dll -r
copy User.dll ..\bin\*.*
Here is the result:
************************************************** *****
C:\Inetpub\wwwroot\Interez\Classes>makeuser
C:\Inetpub\wwwroot\Interez\Classes>attrib user.dll -r
C:\Inetpub\wwwroot\Interez\Classes>csc /t:library User.cs
/r:system.web.dll /r:s
ystem.data.dll /r:system.dll /r:system.xml.dll /r:nullHandler.dll
/r:DBTypes.dll
/r:DBObject.dll
'csc' is not recognized as an internal or external command,
operable program or batch file.
C:\Inetpub\wwwroot\Interez\Classes>attrib ..\bin\User.dll -r
C:\Inetpub\wwwroot\Interez\Classes>copy User.dll ..\bin\*.*
1 file(s) copied.
C:\Inetpub\wwwroot\Interez\Classes>
************************************************** ********
I had closed and restarted another command windows after adding the
environment variable and as you can see it is in the path.
What else am I missing?
Thanks,
Tom This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: farzad |
last post by:
Hi
I try to install php_ming.so in my php . I am using Redhat 8.0 php 4.2.2
apache 2.0.4.
I am doing as the howto install file want me to do.
as follow....
|
by: Adams-Blake Co. |
last post by:
This may be OT a bit, so maybe someone can point me in the right direction.
I want to test a script that sends out an e-mail. I want to test it locally
on my Mandrake Linux 8.2 box.
It runs OK...
|
by: lawrence |
last post by:
I haven't been able to reach www.php.net for days. Most of the rest of
the web is working for me, though I've bad trouble reaching any
English sites. Anyone else having trouble?
|
by: Michel |
last post by:
Hi,
I like to build a small simple dinamic website: Point-of-sale
(detail-shop), So entering stock, logging all sales, print out
invoices and download the logs to be imported into Excel.
I...
|
by: nadia |
last post by:
Is it possible to do the following in php:
I want to have a main form open. In the form I want a button that will
open a popup window so the user can search for something. The user can
then select...
|
by: lawrence |
last post by:
How dangerous or stupid is it for an object to have a reference to the
object which contains it? If I have a class called $controllerForAll
which has an arrray of all the objects that exist, what...
|
by: Alper Adatoz |
last post by:
Hi,
i have a little problem. i hope u guys give me a clear solution (:
db: mssql
i just want to put jpeg file to the image field at the mssql db.
and after that i want to call it back..
|
by: Sam Hou |
last post by:
Dear all,
I don't know where my problem is. Hopefully someone can give me
some hint to explore the problem more. I am running Apache 2.0.48
wih PHP 4.3.4. The apache is running as nobody. I...
|
by: NotGiven |
last post by:
I am guessing I would hold a variable of when it's opened, then in the
script that runs when the page is offloaded, I coudl calcualte it.
How do you store a time variable?
How do you calculate...
|
by: Ryan Hubbard |
last post by:
I would like to limit multiple logins for a user. How and when does
the session id expire? Can I set it so after x minutes of inactivity
it would expire. How do I check if session id exists? If...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |