Click here to Skip to main content
15,895,142 members
Articles / Security / Encryption

Encrypting Editor Notepad Replacement

Rate me:
Please Sign up or sign in to vote.
4.85/5 (50 votes)
28 Jul 2014CPOL80 min read 179.4K   6.1K   112  
A C# .NET 3.5 (Win7) Windows Forms Application with source code
@echo off
prompt $$$S
echo.
echo Executing debugtxt.cmd
echo.
echo Using debug as a built-in simple hex editor for files in the current directory.
echo Drag and drop a file to edit.
echo.
echo Example:
echo.
echo d100 file contents
echo rcx file size
echo rbx high 16 bits of file size
echo e100 edit bytes
echo w write file
echo q end
echo.
echo Warning! MS-DOS based only uses 8.3 filename
echo.

debug /?

attrib -r %1

debug %~nx1

attrib +r %1

pause

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Systems Engineer IAUA End Time Ministry
United States United States
I am a retired Software Systems Design Engineer experienced with IEEE standards and the entire IEEE software development life cycle. Concept Exploration, Requirements, Design, Implementation, Test, Installation and Checkout, Operation and Maintenance. I enjoy working with people and solving customer problems.

I am currently a writer for my personal ministry: IAUA End Time Ministry

Comments and Discussions