This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to backup a CMS | |
# | |
# @Author: Andreas Doebeling <[email protected]> | |
# @Copyright: 1601.communication gmbh | |
# @Link: http://www.1601.com | |
# Switch to customer-folder | |
cd /$PATH/ | |
# Check the current mySQL-Config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// compile this like g++ go2.c -lgdi32 [if you're using mingw] | |
#include <windows.h> | |
#include <stdio.h> | |
// Helper function to retrieve current position of file pointer: | |
inline int GetFilePointer(HANDLE FileHandle){ | |
return SetFilePointer(FileHandle, 0, 0, FILE_CURRENT); | |
} | |
//--------------------------------------------------------------------------- |