I was using Visual Studio 2015 update 3 on Windows 10 x64 and was getting the error: “The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.”, when running some gulp tasks.
I fixed the problem by letting Visual Studio 2015 update 3 use the “current”(at the time of writing) node version (v6.5.0), that was installed in “C:\Program Files\nodejs”.
- Download the “current” (v6.5.0) Windows x64 version of node (NOT, I repeat, NOT the LTS version) at https://nodejs.org/en/
- Install it
- Open Visual Studio 2015 > Tools > Options… > Project and Solutions > External Web Tools > Add an entry “C:\Program Files\nodejs”
- Move the entry to the top of the list and restart visual studio:
No the following steps might not be necessary, but in case the error persists:
- Remove the node_modules folder
- Open the solution and project (this will trigger an npm install)
- Open the Package Manger Console
- npm cache clean
- npm dedupe
- npm install
In windows 10 preview I noticed the F12 developer tools changed.
I think the new F12 developer tools in IE are a really good update from the previous version.
I did not like the buttons on the left. With the tabs on top the ui is much cleaner:
Are you using that old operating system called Windows 8.1?
That’s so september 2014, meet Windows 10:
Using keyboard selection and then CTRL-C and CTRL-V to copy and paste text is a feature that should have been in Windows 3.11 .
Remember that the N version of Windows 8.1 just means it does not include Windows Media Player.
If you want to start a batch file from an other batch file you can use the start command.
If you want to hide the command line window, that will be displayed by default, use the /B parameter.
start /B /wait Test2.bat
When you execute Test1.bat on the command line, the Test2.bat will be executed without showing a window.
(The Test1.bat will wait until Test2.bat is finished, because the /wait argument is supplied.)
When you use cmd.exe and change directory to lets say: "C:\Windows\Microsoft.NET\Framework64\v4.0.30319" and want to loop through all the files in the folder, just press tab to forward loop all files, press shift tab to reverse the loop.
You can also start typing the first part of the filename and then press tab.
So if you want to find aspnet_regiis.exe, you can type aspnet and the press tab to start looping the files, starting with first file that starts with "aspnet" in this case: Aspnet.config.
Yes, yes, I know this is probably the oldest shortcut in the DOS / Windows book, but I keep on forgetting it
If you want to quickly determine the complete username for the current user in Windows, open a command prompt:
start > cmd
and type "whoami"
To start the 32 bits ODBC DSN editor, run: %WINDIR%\System32\odbcad32.exe
To remove all mapped network drives in Windows:
Start > Run > net use * /delete /y