Add drag'n'drop to executable
Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
@@ -70,8 +70,14 @@ namespace TextFileSplitter
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Main()
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
|
if (args.Length > 0)
|
||||||
|
{
|
||||||
|
foreach (string line in args)
|
||||||
|
SplitFile(line, neededExt: ".bat");
|
||||||
|
return;
|
||||||
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Console.Write("Введите путь к файлу для разделения: ");
|
Console.Write("Введите путь к файлу для разделения: ");
|
||||||
|
|||||||
Reference in New Issue
Block a user