James Cobban <jamescobban@xxxxxxxxxxxx> writes: > while on Linux it reads: > "~/Windows/Archives/Database/SubDistTable1881.csv" > and writes to: > "~/Windows/Archives/Database" Note that on Linux/Unix the name "~" is not special when you call open or fopen or similar functions. The name "~" is expanded by the shell; specifically an unquoted ~ at the start of a pathname, followed by a /, is replaced by the contents of the environment variable HOME, or, if HOME is not set, by the home directory of the user executing the shell. If you are not using the shell, you need to expand "~" yourself. Ian