????? ??? ??????? ???? ?????? ??? ?????????

?????? ????????? ?????? ?????????
???? ???????: 140570 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

????? ???????? Win32 ??????? ??? ??? ?? ????? ??????? ?? ??? ??????? ???? ??? ????????? ?????? ?? ??? ??????. ??????? ??????? ???? ????? ????? ??????? ?????? ?????? ?? ????? ????? ????? ????????? ??? ???????? ????? ???? ?????. ?? ??? ???????? ????? ????? ??? ??? ????? ????? ??????? ???? ??? ????????? ?????? ?? ??? ??????. ????? ??????? ????????? ?? ???? ????? ??? ?? ??? ??? ???????.

Windows 95 ? Windows NT ?? ???? ??????? ???? ???????? ????????? ??????, ??????? ?? ????? ????? ??????? ???????? ???? ??? ?????????. ??? ????? ?? ?? ????? ??? ??????? ???????? ?? ???? ???? ????? ??? ????? ?????? ?????? ?????????? ????? ??? ??????? ????? ??????? ???? ??????? ?? ????? ?????? ????? ??? ??? ????? ?????. ???? ??? ?????? ????? ??????? ????????? ????? ?????? ?? ??? ?? ???? Windows ???????.

??????? ????

??? ????? ?? Windows NT

???? ??????? ????????? ???????? ??? Win32 ???? ???? ??? Windows NT MoveFileEx() ????? MOVEFILE_DELAY_UNTIL_REBOOT ???? ?? ??????? ?? ??? ??????? ???????? ??? ???????? ??????. ?? ????? ??????? ???? ??? ????? ????? ?????? ? ???? ??? ???????? ????? Windows NT ??????? ?? ??? ??????? ??????? ????????.

???? ?? ??????? ????? ?? ?????? ??? ????????? ????? ??? ????? ???? ?? ?????? ?????????? ?????? ??? ??? ???? ??????? (??? ???? ??????? ??????? C:). ??? ??? ?????? ?????? ??? ????? ???? ??????? ????. ??? ??? ?????? ?????? ???? ????? ???? ??????? ??? ?? ???? ???? ????? ?????? ?????? ???????. ????? ??? ??????? ???? ???? ?? ??????? ??? ?? ??? ????:
   // Move szSrcFile to szDstFile next time system is rebooted
   MoveFileEx(szSrcFile, szDstFile, MOVEFILE_DELAY_UNTIL_REBOOT);
				
???? ??? ?? ???? ??????? ???? ????? ???? ?????? ??? NULL. ??? ??? ???? ?????? ?????? ? ???? ????? ??? ??? ??? ??????. ???? ??? ??? ??? ??? ???? ??????? MoveFileEx() ?????? ??????? ?? ???? ??? ????? ????? ????????? ??? ??????? MoveFileEx() ????? ??????. ????? ??? ???? ?? ????? ??? ??? ?? ???? ????:
   // Delete szSrcFile next time system is rebooted
   MoveFileEx(szSrcFile, NULL, MOVEFILE_DELAY_UNTIL_REBOOT);
				

??? ????? ?? ???? ??????? Windows 95

Windows 95 ?? ???? ?????? MoveFileEx() ???? ???? ????? ????? ???????? ???? Win32 ????? ??? 16-?? ????? ??? Windows ? ????? ??? MS-DOS ??? ?? ??????? ?? ??? ??????? (???? ?? ???????) ???? ??? ????????? ??????. ??? ????? ??? ????????? ???? ?????? [????? ?????] ?? ????? ?????? Wininit.ini. ?? ???? ???? ?? ???? Windows Wininit.ini Wininit.exe ????? ??? ??? ???? ?????? ????????. ????? ?????? Wininit.ini ???? Wininit.exe "????? ????? ??? ??? Wininit.bak.

???? ???? ?????? [????? ?????]:
   DestinationFileName=SourceFileName
				
DestinationFileName SourceFileName ??? ?? ???? ?????? ??? ??? ???? ??????? ? ???? ??????? ??????? (8.3) ????? ???? ??? ?????? Wininit.ini ??? ????? ?????? ????? ????? ?????? ????? ??????? ??????? ?????? ??? ??? ????? ???? ????? ????? ??????. ??? ????? ?????? ?????? ?????? ?????? ?? Wininit.ini ?? ????? ??????? ???????.

???? ?? ????? ?????? [????? ?????] ???? ?????? ?? ??? ???? ??? ???. ???? ??? ???? NUL DestinationFileName. ???? ??? ??? ??????? ???????:
   [rename]
   NUL=C:\TEMP.TXT
   C:\NEW_DIR\EXISTING.TXT=C:\EXISTING.TXT
   C:\NEW_DIR\NEWNAME.TXT=C:\OLDNAME.TXT
   C:\EXISTING.TXT=C:\TEMP\NEWFILE.TXT
				
???? ????? ???? Temp.txt ???? ?????. ???? ?????? Existing.txt ???? ???? ??? ???? ????. ???? ??????? Oldname.txt ??? ?? ????? ??????. ???? ?????? ??? ????? ???? ??????? ???? ?????? Newfile.txt.

??? ?? ?? ?????? ??????? WritePrivateProfileString() ????? ??????? ??? ?????? [????? ?????] ??? ???? ?? ???? ???? ??? ???? ?? DestinationFileName ??? ????? ??? ??? DestinationFileName "NUL." ????? ?? ???? ??? ????? ??????? ?? ???? ????? Wininit.ini ????? ????????? ??? ????? ?????? [????? ?????].

??????: ????? ??????? ??? ??? ?????? ????? ?????? ????? Wininit.ini ???? ?? ???? ????? ?????? [????? ?????] ?????? ??????? ????? ??? ?????? ?? ?????? ??????? ????????.

??? ?? ???? ????????? ???? ?????? Wininit.ini ???? ????? ?? ?? ???? Windows. ?? ???? ???? Wininit.ini ?? ????? ??? ????? ???? ??? ??? ??? ?? ????? ????? ??????. ????? ??? ???? ??????? ?? ????? ??????? ??? ?????? [????? ?????]. ???? ???? Wininit.ini ??? ????? ??????? ??? ?????? ??? ?????? [????? ?????]. ???? ??? ?? ??????? ?? ??????? ???? ?? ???? ??? ????? ????? ?? ??? ??????? ????? ??.

??????? ?? ????? ????? ????? ??? ??? ????? ????? ??????, ??? ????? ??? ??????? ?? ?????? [????? ?????] ?? ????? Wininit.ini.

???????

???? ???????: 140570 - ????? ??? ??????: 30/????/1427 - ??????: 4.3
????? ???
  • Microsoft Win32 ????? ????? ???????, ????? ?????? ??:
    • Microsoft Windows 95
    • Microsoft Windows 98 Standard Edition
    • the operating system: Microsoft Windows 2000
    • Microsoft Windows Millennium Edition
    • Microsoft Windows NT 4.0
    • the operating system: Microsoft Windows XP
????? ??????: 
kbmt kbapi kbfileio kbhowto kbkernbase kbprogramming KB140570 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????140570

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com