4NT

From Null-pointer

Jump to: navigation, search

4NT - Powerful command line prompt/tool for windows (Shareware).

Contents

Configuration

Font

  • Raster Fonts (Terminal)
  • Size: 8 x 12

4start.bat

@echo off
set CVSROOT=:pserver:pkane:password@regulus.london.edu:/var/opt/LBS_EIP
set HOME=%userprofile%
alias ls=dir
alias clear=cls
alias rm=del
alias mv=move
alias cp=copy
alias del=*del /y
alias clean=del /sexyq
alias update=copy /esu
alias cvs=C:\devapps\cvs-1-11-17\cvs.exe
alias ant=C:\devapps\apache-ant-1.7.0\bin\ant.bat
alias jad=C:\devapps\Jad\jad.exe -sjava
alias keytool="C:\Program Files\Java\jre1.5.0_02\bin\keytool.exe"
alias editplus="C:\Program Files\EditPlus 3\editplus.exe"
alias javac=C:\devapps\jdk1.5.0_06\bin\javac.exe
alias gemi=gem install %%$ 
alias gemu=gem update %%$
alias rs*erver=ruby script/server 
alias rc*onsole=ruby script/console
alias tail=D:\Devapps\UnxUtils\usr\local\wbin\tail.exe
alias head=D:\Devapps\UnxUtils\usr\local\wbin\head.exe
prompt=$e[1;30m[$e[1;37m%username%$e[0;37m@$e[1;37m%userdomain%$e[1;30m$b$e[1;36m$p$e[1;30m]$e[0;37m
@echo on
#make ls behave like linux
alias ls=dir /dw
alias ll=dir

option

type: option in 4NT prompt

Editing

Editing
  1. Default: Insert
  2. Cusor: Overstike: 100%, Insert 15%
Filename Completion
  1. Options:
cd:dirs;javac:java;
  1. Search PATH [x]

Colors

  1. Enable ANSI
DIR Colors
DIRS: BRI WHI; txt: MAG; html css: aCYA; java: GRE; jsp: BRI CYA; xml: YEL;
 gz zip rpm tgz: RED; sh bat: BRI GRE;

History

Command History
  1. Move to end
  2. Wrap
  3. Duplicates: Save Last

proxycfg

[root@localhost ~]# proxycfg

[root@localhost ~]# proxycfg -u

[root@localhost ~]# proxycfg /? Microsoft (R) WinHTTP Default Proxy Configuration Tool Copyright (c) Microsoft Corporation. All rights reserved. usage: proxycfg -?  : to view help information proxycfg  : to view current WinHTTP proxy settings proxycfg [-d] [-p <server-name> [<bypass-list>]] -d : set direct access -p : set proxy server(s), and optional bypass list proxycfg -u  : import proxy settings from current user's Microsoft Internet Explorer manual settings (in HKCU)

redirect and Tee

[root@localhost ~]# dir 2>&1 | tee output.txt

Reg key not working in windows 7

Run 4NT and run the reg key from there.

Thanks, Rex,

When I run RegEdit, the key is there in the correct HKLM location. Is it 'there' but not really 'there' because I didn't Run As Admin? Strange.

But the good news is that I went to the 4nt icon and did a Run As Admin, then ran regedit from there and imported the key. It worked.

But from an external point of view, nothing has changed in the registry. The key was there before. It's there now. Obviously somehow the registry is now flagging entries that weren't entered as admin. But it still leaves them there and visible with no indication that it's "illegit"... (????)

Not the first time I've been burned by something similar. If you copy an INI file to the Windows directory, it shows up just like any other file. But if you don't run-as-admin to do the copy, programs won't see the file.

I don't mind the additional security in Win7. But I would like to have an indicator of files (and now reg entries) that appear to be there, but aren't...)

Thanks for the help.

JWM

Download

  • 4NT v5 (build 124) restricted
  • TCC-LE Free version of 4NT

Website

See Also

Personal tools