echo off
set filespec=
if "%1"=="" goto nospec
cls
set name=login
set filespec=%1
set > d:\user\name
editor
goto exit
:nospec
cls
set name=login
set > d:\user\name
editor
:exit
cls