filename (1,747)


c# - sgen.exe fails during build

c# - sgen.exe fails during build

After changing the output directory of a visual studio project it started to fail to build with an error very much like: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin\sgen.exe/assembly:…


Send messages to program through command line

I have this program, we'll call it Host. Host does all kinds of good stuff, but it needs to be able to accept input through the command line while it's running. This means it has to somehow send its…


search - PowerShell FINDSTR eqivalent?

What's the DOS FINDSTR equivalent for PowerShell? I need to search a bunch of log files for "ERROR".…


java - Differences between unix and windows files

Am I correct in assuming that the only difference between "windows files" and "unix files" is the linebreak? We have a system that has been moved from a windows machine to a unix machine and are hav…


mercurial - how to allow files starting with period and no extension in windows 2003 server?

How can I create this file in a directory in windows 2003 SP2:.hgignore I get error: You must type a file name.…


Find broken symlinks with Python

If I call os.stat() on a broken symlink, python throws an OSError exception. This makes it useful for finding them. However, there are a few other reasons that os.stat() might throw a similar excepti…



c++ - What is the difference between#include<filename> and#include “filename”?

In the C and C++ programming languages, what is the difference between using angle brackets and using quotes in an include statement, as follows?#include<filename>#include "filename"…


unix - Maximum buffer length for sendto?

How do you get the maximum number of bytes that can be passed to a sendto(..) call for a socket opened as a UDP port?…


python - How to escape os.system() calls?

When using os.system() it's often necessary to escape filenames and other arguments passed as parameters to commands. How can I do this? Preferably something that would work on multiple operating sy…


php - Base64 Encoding Image

I am building an open search add-on for Firefox/IE and the image needs to be Base64 Encoded so how can I base 64 encode the favicon I have? I am only familiar with PHP…




file from get path name how with files directory and