replace (command)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
replace
DevelopersMicrosoft, IBM, Digital Research, Paragon Technology, Rene Ableidinger, ReactOS Contributors
Initial release1986, 39–40 years ago
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Operating systemMS-DOS, PC DOS, SISNE plus, OS/2, eComStation, ArcaOS, Windows, DR DOS, PTS-DOS, FreeDOS, ReactOS
    PlatformCross-platform
    TypeCommand
    LicenseMS-DOS, PC DOS, SISNE plus, OS/2, Windows, DR DOS, PTS-DOS: Proprietary commercial software
    FreeDOS, ReactOS: GPLv2
    Websitedocs.microsoft.com/en-us/windows-server/administration/windows-commands/replace

    In computing, replace is a command that is used to replace one or more existing computer files or add new files to a target directory. Files with a hidden or system attribute set cannot be replaced using replace. The command lists all files that are replaced.[1]

    History

    [edit | edit source]

    The replace command first appeared in MS-DOS 3.2[2] and has been included in most versions of MS-DOS and compatibles such as FreeDOS[3] and PTS-DOS.[4] DR DOS 6.0 includes an implementation of the replace command.[5] The FreeDOS version was developed by Rene Ableidinger and is licensed under the GPL.[6] It is also included as a console command in IBM OS/2,[7] Microsoft Windows,[8] and ReactOS. The ReactOS version was developed by Samuel Erdtman and is licensed under the GPL.[9]

    Example

    [edit | edit source]

    The following command updates the files in C:\delivery\ with the .exe files from C:\source\

    C:\>replace "C:\source\*.exe" C:\delivery
    

    See also

    [edit | edit source]

    References

    [edit | edit source]
    1. ^ Replace - Windows CMD - SS64.com
    2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    4. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    5. ^ DR DOS 6.0 User Guide Optimisation and Configuration Tips
    6. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    7. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    8. ^ Microsoft Windows XP - Replace
    9. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).

    Further reading

    [edit | edit source]
    • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    [edit | edit source]