I'm trying to print to a file, to make a batch file, and I need the \t to be ignored:
infile = fopen("atline.bat", "w");
fprintf(infile,"net use y: \\\TWPC-BELL-DC01\\c$\n");
fprintf(infile,"y:\n");
fprintf(infile,"at %d:%d y:\\securedox\\send\\fileprep 1 1\n", hour, min);
fprintf(infile,"net use y: /d");
fclose(infile);
The output I'm getting in the file is
net use y: \ WPC-BELL-DC01\c$
y:
at 11:31 y:\securedox\send\fileprep 1 1
net use y: /d
Notice the big TAB in my net use! I cant for the life of me remember how to get my \t to print as \t. Thanks for any help!
Sarah