#include<iostream>
#include<string.h>
#include<windows.h>
#include <stdio.h>
#ifdef WINDOWS
#include <direct.h>
#define GetCurrentDir _getcwd
#else
#include <unistd.h>
#define GetCurrentDir getcwd
#endif
using namespace std;
int main()
{
string input;
char cCurrentPath[FILENAME_MAX];
if (!GetCurrentDir(cCurrentPath, sizeof(cCurrentPath)))
{
return errno;
}
cout<<"Welcome to RelShell.exe, a Command Prompt shell made by Relevant"<<endl;
for(;
{
cout<<endl;
cout<<cCurrentPath;
cout<<">";
getline(cin,input);
system(input.c_str());
}
return 0;
}
#include<iostream>
#include<string.h>
#include<windows.h>
#include <stdio.h>
#ifdef WINDOWS
#include <direct.h>
#define GetCurrentDir _getcwd
#else
#include <unistd.h>
#define GetCurrentDir getcwd
#endif
using namespace std;
int main()
{
string input;
char cCurrentPath[FILENAME_MAX];
if (!GetCurrentDir(cCurrentPath, sizeof(cCurrentPath)))
{
return errno;
}
cout<<"Welcome to RelShell.exe, a Command Prompt shell made by Relevant"<<endl;
for(;
{
cout<<endl;
cout<<cCurrentPath;
cout<<">";
getline(cin,input);
system(input.c_str());
}
return 0;
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.