Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

setting up path variable for .Net

Featured Replies

Hi everyone

My students are doing C# with the .Net framework isntalled on Windows 98. The problem is, .Net Framework SDK is too big(110 MB) and the .Net framework redistributable (29 MB) is manageable, so they have installed it, because it does come with the C# compiler csc.exe. However, unlike the SDK, it doesnt come with a batch file that can set the PATH variable. Some of the students are very unfamiliar with the command line and are unable to set the path variable to include the directory where the .Net framework is installed. It is usually under windir in Microsoft .Net\Framework\v1.1.432 or something of that sort. I am wondering if someone could help me build a batch file that would determine the folder in which csc.exe is and would add that folder to the path variable. I could invoke this from autoexec or from startup or something.

Help appreciated.

Regards

  • 3 weeks later...

reg query hklm\SOFTWARE\Microsoft\.NETFramework\ /v sdkInstallRoot

will give you the rootDir for the SDK files,

you will have to add the versionnumber to that

C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705 (1.0)

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 (1.1)

then just path = %path%;[path to crc]

following search finds the location of crc.exe but you can get doubles :

(i have the framework 1.0 and 1.1 installed)

C:\Program Files\Debugging Tools for Windows>reg query hklm\SOFTWARE\Microsoft\W

indows\CurrentVersion\SharedDLLs | find "csc.exe"

C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\csc.exe.config REG_DWORD

0x1

C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\csc.exe REG_DWORD

0x1

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe.config REG_DWORD

0x1

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe REG_DWORD

0x1

maybe its an option to just add then both

hope this helps

gr /\/\o\/\/

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.